logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: d23a03ea39fe35ebc580130fd7b779bfffbfc967
parent: 89c0030d053aab1215fd7bcf8ac64251943660e5
Author: Morgan Bazalgette <the@howl.moe>
Date:   Sat, 31 Mar 2018 18:31:24 +0200

remove bundle analyzer, remove chunk hashes from css

Diffstat:

Mconfig/webpack/production.js10----------
Mconfig/webpack/shared.js2+-
2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/config/webpack/production.js b/config/webpack/production.js @@ -30,16 +30,6 @@ module.exports = merge(sharedConfig, { comments: false, }, }), - 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: { diff --git a/config/webpack/shared.js b/config/webpack/shared.js @@ -52,7 +52,7 @@ module.exports = { resource.request = resource.request.replace(/^history/, 'history/es'); } ), - new ExtractTextPlugin(env.NODE_ENV === 'production' ? '[name]-[contenthash].css' : '[name].css'), + new ExtractTextPlugin('[name].css'), new ManifestPlugin({ publicPath: output.publicPath, writeToFileEmit: true,