mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix(webpack): analyze report path (#20878)
This commit is contained in:
parent
9683c3dad3
commit
e3af77253d
@ -86,7 +86,7 @@ function clientPlugins (ctx: WebpackConfigContext) {
|
||||
// webpack Bundle Analyzer
|
||||
// https://github.com/webpack-contrib/webpack-bundle-analyzer
|
||||
if (!ctx.isDev && ctx.name === 'client' && options.webpack.analyze) {
|
||||
const statsDir = resolve(options.buildDir, 'stats')
|
||||
const statsDir = resolve(options.analyzeDir)
|
||||
|
||||
config.plugins!.push(new BundleAnalyzerPlugin({
|
||||
analyzerMode: 'static',
|
||||
|
Loading…
Reference in New Issue
Block a user