mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
TOOL: Add script to generate webpack bundle report (#2587)
This commit is contained in:
@@ -100,6 +100,7 @@
|
||||
"tinybench": "^6.0.0",
|
||||
"typescript": "^5.9.3",
|
||||
"webpack": "^5.105.4",
|
||||
"webpack-bundle-analyzer": "^5.2.0",
|
||||
"webpack-cli": "^6.0.1",
|
||||
"webpack-dev-server": "^5.2.2",
|
||||
"xml-formatter": "^3.6.7"
|
||||
@@ -118,6 +119,7 @@
|
||||
"url": "git+https://github.com/bitburner-official/bitburner-src.git"
|
||||
},
|
||||
"scripts": {
|
||||
"analyze-bundle": "webpack --mode production --profile --json > dist/webpack-bundle-stats.json && webpack-bundle-analyzer dist/webpack-bundle-stats.json -m static -r dist/webpack-bundle-report.html --no-open",
|
||||
"doc": "bash ./tools/doc.sh",
|
||||
"format": "prettier -c --write .",
|
||||
"format:report": "prettier -c .",
|
||||
|
||||
Reference in New Issue
Block a user