fix bug
Showing
config/dev.env.js
0 → 100644
config/production.env.js
0 → 100644
config/testing.env.js
0 → 100644
... | @@ -72,10 +72,26 @@ | ... | @@ -72,10 +72,26 @@ |
"scripts": { | "scripts": { | ||
"start": "webpack-dev-server --config ./config/webpack.dev.js", | "start": "webpack-dev-server --config ./config/webpack.dev.js", | ||
"dev": "webpack-dev-server --config ./config/webpack.dev.js", | "dev": "webpack-dev-server --config ./config/webpack.dev.js", | ||
"build": "webpack --config ./config/webpack.prod.js " | "build:test": "better-npm-run build:test", | ||
"build:prod": "better-npm-run build:test" | |||
}, | |||
"betterScripts": { | |||
"build:test": { | |||
"command": "webpack --config ./config/webpack.prod.js", | |||
"env": { | |||
"NODE_ENV": "testing" | |||
} | |||
}, | |||
"build:prod": { | |||
"command": "webpack --config ./config/webpack.prod.js", | |||
"env": { | |||
"NODE_ENV": "production" | |||
} | |||
} | |||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@babel/plugin-syntax-dynamic-import": "^7.2.0", | "@babel/plugin-syntax-dynamic-import": "^7.2.0", | ||
"better-npm-run": "^0.1.1", | |||
"preload-webpack-plugin": "^3.0.0-beta.3" | "preload-webpack-plugin": "^3.0.0-beta.3" | ||
}, | }, | ||
"theme": { | "theme": { | ||
... | ... |
Please
register
or
sign in
to comment