mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
Add build command that outputs stats.json for bundle analysis.
This commit is contained in:
parent
d1acc9f7cc
commit
75c317eb16
2 changed files with 2 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,6 +5,7 @@ Extension Building
|
|||
badges
|
||||
cdn
|
||||
|
||||
stats.json
|
||||
.idea
|
||||
*.iml
|
||||
credentials.json
|
|
@ -8,6 +8,7 @@
|
|||
"start": "webpack-dev-server --config webpack.web.dev.js",
|
||||
"eslint": "eslint \"src/**/*.{js,jsx,vue}\"",
|
||||
"build": "webpack --config webpack.web.prod.js --define process.env.NODE_ENV='production'",
|
||||
"build:stats": "webpack --config webpack.web.prod.js --define process.env.NODE_ENV='production' --json > stats.json",
|
||||
"build:babel": "webpack --config webpack.web.babel.js --define process.env.NODE_ENV='production'",
|
||||
"build:prod": "webpack --config webpack.web.prod.js --define process.env.NODE_ENV='production'",
|
||||
"build:dev": "webpack --config webpack.web.dev.js"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue