Upgrade to webpack 4
This commit is contained in:
parent
6e0c85bd90
commit
fc9e66242a
4 changed files with 1764 additions and 63 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue