1
0
Fork 0

Upgrade to webpack 4

This commit is contained in:
Chocobozzz 2018-04-06 16:06:43 +02:00
parent 6e0c85bd90
commit fc9e66242a
No known key found for this signature in database
GPG key ID: 583A612D890159BE
4 changed files with 1764 additions and 63 deletions

View file

@ -99,7 +99,7 @@ module.exports = function () {
plugins: [
new ExtractTextPlugin({
filename: '[name].[contenthash].css'
filename: '[name].[hash].css'
}),
new PurifyCSSPlugin({
@ -135,6 +135,11 @@ module.exports = function () {
})
],
performance: {
maxEntrypointSize: 600000, // 600kB
maxAssetSize: 600000
},
node: {
global: true,
crypto: 'empty',