从新提交到gitee 仓库
This commit is contained in:
12
web/webpack.config.js
Normal file
12
web/webpack.config.js
Normal file
@@ -0,0 +1,12 @@
|
||||
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
|
||||
|
||||
module.exports = {
|
||||
// 其他 Webpack 配置
|
||||
plugins: [
|
||||
new BundleAnalyzerPlugin({
|
||||
analyzerMode: 'server', // 启动本地服务查看报告
|
||||
openAnalyzer: true, // 自动打开浏览器
|
||||
generateStatsFile: false, // 是否生成 stats.json 文件
|
||||
}),
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user