Minify production builds
This commit is contained in:
parent
716bffa3e6
commit
51b1f30729
|
@ -5,7 +5,7 @@
|
|||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "webpack",
|
||||
"build:production": "webpack -p",
|
||||
"build:production": "webpack -p --optimize-minimize",
|
||||
"watch": "webpack --progress --watch",
|
||||
"start": "node serve.js"
|
||||
},
|
||||
|
@ -28,6 +28,7 @@
|
|||
"redux": "^3.7.2",
|
||||
"redux-thunk": "^2.2.0",
|
||||
"style-loader": "^0.18.2",
|
||||
"uglifyjs-webpack-plugin": "^0.4.6",
|
||||
"webpack": "^3.1.0",
|
||||
"webpack-dev-middleware": "^1.12.0",
|
||||
"webpack-hot-middleware": "^2.18.2"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
const path = require("path");
|
||||
const webpack = require("webpack");
|
||||
|
||||
|
||||
const defines = {
|
||||
"DEFAULT_WS_URI": process.env.WEBSOCKET_URI || "ws://localhost:8412/"
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user