mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-21 21:54:56 +08:00
Ensure bundle analysis is always enabled (#267)
This commit is contained in:
committed by
GitHub
parent
b05f301c21
commit
c261892de4
@@ -48,9 +48,9 @@ module.exports = {
|
||||
} },
|
||||
new WebpackRequireFrom({ methodName: '__webpackDynamicImportURL' }),
|
||||
// Analyze the bundle
|
||||
process.argv.includes('--analyze') && new BundleAnalyzerPlugin(),
|
||||
process.argv.includes('--analyze') && new DuplicatePackageCheckerPlugin(),
|
||||
].filter(x => !!x),
|
||||
new BundleAnalyzerPlugin({ analyzerMode: 'static', openAnalyzer: false }),
|
||||
new DuplicatePackageCheckerPlugin(),
|
||||
],
|
||||
},
|
||||
chainWebpack: config => {
|
||||
// Inject resolve-url-loader into the SCSS loader rules (to allow relative fonts in do-bulma to work)
|
||||
|
Reference in New Issue
Block a user