Fix CI: add generate-webpack-stats-file alias and fix stats path
- Add `generate-webpack-stats-file` as alias to `analyze` for backwards compatibility with CI workflow - Change stats.json output path to '../stats.json' to match old webpack config behavior (generates in root, not in web-build/) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -180,7 +180,7 @@ export default defineConfig({
|
||||
process.env.BUNDLE_ANALYZE === 'server' ? 'server' : 'static',
|
||||
openAnalyzer: process.env.BUNDLE_ANALYZE === 'server',
|
||||
generateStatsFile: true,
|
||||
statsFilename: 'stats.json',
|
||||
statsFilename: '../stats.json',
|
||||
}
|
||||
: undefined,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user