diff --git a/ghost/portal/package.json b/ghost/portal/package.json index 4b87b4175f..894024c320 100644 --- a/ghost/portal/package.json +++ b/ghost/portal/package.json @@ -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" } }