rsnext/test/integration/chunking/next.config.js
Joe Haddad af82f322e5
Enable New CSS Support by Default (#9927)
* Enable New CSS Support by Default

* Adjust configs

* Fix invisible AMP body

* Fix AMP validation warning

* test fix

* Use expression that won't be eliminated by babel
2020-01-09 15:31:28 -05:00

15 lines
358 B
JavaScript

const BundleAnalyzerPlugin = require('webpack-bundle-analyzer')
.BundleAnalyzerPlugin
module.exports = {
assetPrefix: '/foo/',
webpack(config) {
config.plugins = config.plugins || []
config.plugins.push(
new BundleAnalyzerPlugin({
analyzerMode: 'disabled',
generateStatsFile: true,
})
)
return config
},
}