Skip to content

Commit e84dada

Browse files
committed
:add: NODE_ENV
1 parent 5e1e069 commit e84dada

File tree

3 files changed

+2026
-28
lines changed

3 files changed

+2026
-28
lines changed

bin/micro-app-build.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ program
1010
.option('-t, --type <type>', 'Choose a build type')
1111
.parse(process.argv);
1212

13+
process.env.NODE_ENV = 'production';
14+
1315
global.extraArgs = program.args;
1416

1517
const type = program.type;

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@micro-app/cli",
3-
"version": "0.0.30",
3+
"version": "0.0.32",
44
"description": "micro app cli",
55
"bin": {
66
"micro-app": "./bin/micro-app.js",
@@ -32,7 +32,7 @@
3232
"eslint-config-2o3t": "^1.1.4"
3333
},
3434
"dependencies": {
35-
"@micro-app/core": "^0.0.30",
35+
"@micro-app/core": "^0.0.32",
3636
"chalk": "^2.4.2",
3737
"commander": "^2.19.0",
3838
"opn": "^5.4.0",

0 commit comments

Comments
 (0)