Skip to content

Commit 4c13399

Browse files
committed
fix(app-webpack): quasar.config.js > build > analyze: true -> not showing up #17990
1 parent 9ba619a commit 4c13399

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app-webpack/lib/cmd/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ async function runBuild () {
224224

225225
/**
226226
* We're done, but there may be some underlying tools which
227-
* haven't freed up the Node's JS execution stack yet (like esbuild or Vite).
227+
* haven't freed up the Node's JS execution stack yet (like esbuild).
228228
* So, we're forcing the process to exit to avoid losing time.
229229
*/
230230
process.exit(0)

app-webpack/lib/config-tools.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,9 @@ module.exports.createWebpackChain = async function createWebpackChain (quasarCon
399399
if (quasarConf.build.analyze) {
400400
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
401401
chain.plugin('bundle-analyzer')
402-
.use(BundleAnalyzerPlugin, [ Object.assign({}, quasarConf.build.analyze) ])
402+
.use(BundleAnalyzerPlugin, [
403+
Object.assign({ analyzerMode: 'static' }, quasarConf.build.analyze)
404+
])
403405
}
404406
}
405407
}

0 commit comments

Comments
 (0)