Webpack for production build (#134)
* Webpack config for production build
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
"start": "webpack-dev-server --config webpack.dev.js",
|
||||
"test": "NODE_ENV=test jest",
|
||||
"test:watch": "NODE_ENV=test jest --watch",
|
||||
"build": "webpack --config webpack.config.js",
|
||||
"build": "NODE_ENV=production webpack --config webpack.prod.js",
|
||||
"storybook": "start-storybook -p 9001",
|
||||
"storybook-build": "build-storybook -o dist",
|
||||
"lint": "npm run lint:js & npm run lint:css",
|
||||
@ -62,6 +62,7 @@
|
||||
"eslint-config-netlify": "github:netlify/eslint-config-netlify",
|
||||
"expect": "^1.20.2",
|
||||
"exports-loader": "^0.6.3",
|
||||
"extract-text-webpack-plugin": "^1.0.1",
|
||||
"file-loader": "^0.8.5",
|
||||
"fsevents": "^1.0.14",
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
|
Reference in New Issue
Block a user