Verified Commit 803e592b authored by Morgan Bazalgette's avatar Morgan Bazalgette Committed by Haelwenn
Browse files

remove bundle analyzer, remove chunk hashes from css

parent d711da70
......@@ -62,16 +62,6 @@ module.exports = merge(sharedConfig, {
algorithm: compressionAlgorithm,
test: /\.(js|css|html|json|ico|svg|eot|otf|ttf)$/,
}),
new BundleAnalyzerPlugin({ // generates report.html and stats.json
analyzerMode: 'static',
generateStatsFile: true,
statsOptions: {
// allows usage with http://chrisbateman.github.io/webpack-visualizer/
chunkModules: true,
},
openAnalyzer: false,
logLevel: 'silent', // do not bother Webpacker, who runs with --json and parses stdout
}),
new OfflinePlugin({
publicPath: publicPath, // sw.js must be served from the root to avoid scope issues
caches: {
......
......@@ -73,7 +73,7 @@ module.exports = {
}
),
new ExtractTextPlugin({
filename: env.NODE_ENV === 'production' ? '[name]-[contenthash].css' : '[name].css',
filename: '[name].css'
allChunks: true,
}),
new ManifestPlugin({
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment