mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-01 02:41:39 -05:00
Added source map explorer for analyzing builds
no refs `yarn analyze` now launches source map explorer which analyzes the local bundle, helping in keeping Portal size as small as possible.
This commit is contained in:
parent
0b2af14567
commit
c45b1abede
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,7 @@
|
|||
"preship": "yarn lint",
|
||||
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn publish && git push ${GHOST_UPSTREAM:-upstream} main --follow-tags; fi",
|
||||
"posttest": "yarn lint",
|
||||
"analyze": "source-map-explorer 'build/static/js/*.js'",
|
||||
"prepublishOnly": "yarn build"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
@ -69,6 +70,7 @@
|
|||
"ora": "^5.4.0",
|
||||
"rewire": "5.0.0",
|
||||
"serve-handler": "^6.1.3",
|
||||
"source-map-explorer": "^2.5.2",
|
||||
"webpack-cli": "3.3.12"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue