Verified Commit 231377a5 authored by Morgan Bazalgette's avatar Morgan Bazalgette Committed by Haelwenn

remove bundle analyzer, remove chunk hashes from css

parent e3f1c083
...@@ -73,16 +73,6 @@ module.exports = merge(sharedConfig, { ...@@ -73,16 +73,6 @@ module.exports = merge(sharedConfig, {
algorithm: compressionAlgorithm, algorithm: compressionAlgorithm,
test: /\.(js|css|html|json|ico|svg|eot|otf|ttf)$/, 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({ new OfflinePlugin({
publicPath: publicPath, // sw.js must be served from the root to avoid scope issues publicPath: publicPath, // sw.js must be served from the root to avoid scope issues
caches: { caches: {
......
...@@ -98,7 +98,7 @@ module.exports = { ...@@ -98,7 +98,7 @@ module.exports = {
} }
), ),
new MiniCssExtractPlugin({ new MiniCssExtractPlugin({
filename: env.NODE_ENV === 'production' ? '[name]-[contenthash].css' : '[name].css', filename: '[name].css',
}), }),
new ManifestPlugin({ new ManifestPlugin({
publicPath: output.publicPath, publicPath: output.publicPath,
......
Markdown is supported
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