perf: remove stats.json from webpack (#1098)

I was not ever really looking at this, and it seems to add compilation time
pull/1100/head
Nolan Lawson 2019-03-15 23:26:22 -07:00 zatwierdzone przez GitHub
rodzic ff98c59237
commit ffd570f8b0
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 7 usunięć

Wyświetl plik

@ -94,15 +94,10 @@ module.exports = {
})
] : [
new BundleAnalyzerPlugin({ // generates report.html and stats.json
new BundleAnalyzerPlugin({ // generates report.html
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
logLevel: 'silent'
})
]),
devtool: dev ? 'inline-source-map' : 'source-map',