made production build to be smaller and have sourcemap

This commit is contained in:
Ken
2019-02-23 08:05:16 -08:00
parent 221485a940
commit 5c356156d8
88 changed files with 968 additions and 125962 deletions

View File

@@ -6,7 +6,7 @@
"scripts": {
"start:client": "webpack-dev-server --mode development --progress --open",
"test": "jest --watch",
"build": "rimraf docs && webpack --progress",
"build": "rimraf docs && webpack --progress --mode production",
"start:server": "nodemon -w server server/index.js",
"start": "run-p start:server start:client"
},