Merge remote-tracking branch 'upstream/master' into feature/webpack-bundle-analyzer

Conflicts:
	config/webpack.production.config.js
This commit is contained in:
orangemug
2017-11-17 10:22:28 +00:00
33 changed files with 13435 additions and 142 deletions
+2 -3
View File
@@ -59,7 +59,7 @@ module.exports = {
tls: 'empty'
},
plugins: [
new webpack.NoErrorsPlugin(),
new webpack.NoEmitOnErrorsPlugin(),
new webpack.optimize.CommonsChunkPlugin({ name: 'vendor', filename: '[chunkhash].vendor.js' }),
new WebpackCleanupPlugin(),
new webpack.DefinePlugin({
@@ -80,7 +80,6 @@ module.exports = {
template: './src/template.html',
title: 'Maputnik'
}),
new webpack.optimize.DedupePlugin(),
new BundleAnalyzerPlugin({
analyzerMode: 'static',
defaultSizes: 'gzip',
@@ -88,6 +87,6 @@ module.exports = {
generateStatsFile: true,
reportFilename: 'bundle-stats.html',
statsFilename: 'bundle-stats.json',
}),
})
]
};