af82f322e5
* 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
15 lines
358 B
JavaScript
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
|
|
},
|
|
}
|