diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-06 16:06:43 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-06 16:06:43 +0200 |
commit | fc9e66242a381163c8cb65fd8f4c3802cf639db0 (patch) | |
tree | e504598ff2315deb79e255f2381808e200413b31 /client/webpack | |
parent | 6e0c85bd903dc0a7dbf9672e83a0fb59b2c8ebd6 (diff) | |
download | PeerTube-fc9e66242a381163c8cb65fd8f4c3802cf639db0.tar.gz PeerTube-fc9e66242a381163c8cb65fd8f4c3802cf639db0.tar.zst PeerTube-fc9e66242a381163c8cb65fd8f4c3802cf639db0.zip |
Upgrade to webpack 4
Diffstat (limited to 'client/webpack')
-rw-r--r-- | client/webpack/webpack.video-embed.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/webpack/webpack.video-embed.js b/client/webpack/webpack.video-embed.js index b51808dc2..63cda07bd 100644 --- a/client/webpack/webpack.video-embed.js +++ b/client/webpack/webpack.video-embed.js | |||
@@ -99,7 +99,7 @@ module.exports = function () { | |||
99 | 99 | ||
100 | plugins: [ | 100 | plugins: [ |
101 | new ExtractTextPlugin({ | 101 | new ExtractTextPlugin({ |
102 | filename: '[name].[contenthash].css' | 102 | filename: '[name].[hash].css' |
103 | }), | 103 | }), |
104 | 104 | ||
105 | new PurifyCSSPlugin({ | 105 | new PurifyCSSPlugin({ |
@@ -135,6 +135,11 @@ module.exports = function () { | |||
135 | }) | 135 | }) |
136 | ], | 136 | ], |
137 | 137 | ||
138 | performance: { | ||
139 | maxEntrypointSize: 600000, // 600kB | ||
140 | maxAssetSize: 600000 | ||
141 | }, | ||
142 | |||
138 | node: { | 143 | node: { |
139 | global: true, | 144 | global: true, |
140 | crypto: 'empty', | 145 | crypto: 'empty', |