Skip to content

Commit

Permalink
Remove -p flag from production build command (#497)
Browse files Browse the repository at this point in the history
The `-p` flag has been removed in Webpack 4.x. See webpack/webpack-cli#1688
  • Loading branch information
pezholio committed Oct 20, 2020
1 parent 414681c commit 6388329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"webpack-cli": "^4.1.0"
},
"scripts": {
"build": "webpack -p --mode=production",
"build": "webpack --mode=production",
"build:dev": "webpack --mode=development",
"build:dev:watch": "npm run build:dev -- --watch",
"test": "jest",
Expand Down

0 comments on commit 6388329

Please sign in to comment.