Browse Source

change build mod

Paul 5 years ago
parent
commit
28745364f6
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      package.json

+ 2
- 2
package.json View File

@@ -6,9 +6,9 @@
6 6
   "scripts": {
7 7
     "type-check": "tsc --noEmit",
8 8
     "type-check:watch": "npm run type-check -- --watch",
9
-    "start": "webpack-dev-server  --mode development",
9
+    "start": "webpack-dev-server --mode development",
10 10
     "test": "jest",
11
-    "build": "webpack --config webpack.config.js"
11
+    "build": "webpack --mode production --config webpack.config.js"
12 12
   },
13 13
   "repository": {
14 14
     "type": "git",