rsnext/test/integration/chunking/next.config.js
Tim Neutkens 6c2ce70608
Remove buildId from server-side files (#14413)
Gets rid of the custom function for naming files by removing buildId from the file paths.
2020-06-22 21:12:36 +00:00

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
},
}