Add webpack:profile npm script to web package.json (#6870)

GitOrigin-RevId: 7ca6c1e667b0eac7dfec182ed6dfe923bb39b0b2
This commit is contained in:
Alf Eaton 2022-02-28 11:38:03 +00:00 committed by Copybot
parent 1e7ab75cbc
commit 6fb5397cc8

View file

@ -21,6 +21,7 @@
"nodemon": "nodemon $NODE_APP_OPTIONS --config nodemon.json",
"webpack": "webpack-dev-server --config webpack.config.dev.js",
"webpack:production": "webpack --config webpack.config.prod.js",
"webpack:profile": "webpack --config webpack.config.prod.js --profile --json > stats.json",
"format": "prettier --list-different $PWD/'**/*.js'",
"format:fix": "prettier --write $PWD/'**/*.js'",
"format:styles": "prettier --list-different $PWD/'**/*.less'",