Added server build mode for webpack

This commit is contained in:
hydrant
2019-03-12 16:01:46 +01:00
parent 25037479e0
commit 6fdbad45d1
4 changed files with 42 additions and 7 deletions

View File

@@ -17,6 +17,7 @@
"webpack-cli": "^3.2.3"
},
"scripts": {
"run": "webpack --watch"
"watch": "webpack --watch --config webpack.config.development.js",
"build:server": "webpack --config webpack.config.build.js"
}
}