Skip to content

Commit 4c63ee5

Browse files
committed
Use mode option
1 parent 80ccca4 commit 4c63ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"build": "webpack",
5656
"dev": "webpack -w --config webpack.config.dev.js",
5757
"lint": "eslint -f codeframe --ext .js,.ts,.vue --ignore-path .gitignore .",
58-
"package": "npm run build -- -p && mkdir -p dist && zip -r dist/archive.zip app",
58+
"package": "npm run build -- --mode=production && mkdir -p dist && zip -r dist/archive.zip app",
5959
"test": "npm run lint"
6060
}
6161
}

0 commit comments

Comments
 (0)