Skip to content

Commit

Permalink
opti: env judge
Browse files Browse the repository at this point in the history
  • Loading branch information
deot committed Aug 26, 2020
1 parent 6cf6c6f commit 0e050b4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/cli/src/node/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ const Config = require('./config');
class BuildProcess extends EventEmitter {
constructor(parent) {
super();
process.env.NODE_ENV = 'production';

this.$parent = parent;
}

Expand Down
2 changes: 0 additions & 2 deletions packages/cli/src/node/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ const setSocket = require('./helper/socket');
class DevProcess extends EventEmitter {
constructor(parent) {
super();
process.env.NODE_ENV = 'development';

this.$parent = parent;
this.port = 8080;
this.host = localhost;
Expand Down

0 comments on commit 0e050b4

Please sign in to comment.