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