6c2ce70608
Gets rid of the custom function for naming files by removing buildId from the file paths.
14 lines
334 B
JavaScript
14 lines
334 B
JavaScript
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer')
|
|
.BundleAnalyzerPlugin
|
|
module.exports = {
|
|
webpack(config) {
|
|
config.plugins = config.plugins || []
|
|
config.plugins.push(
|
|
new BundleAnalyzerPlugin({
|
|
analyzerMode: 'disabled',
|
|
generateStatsFile: true,
|
|
})
|
|
)
|
|
return config
|
|
},
|
|
}
|