]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/webpack/webpack.video-embed.js
Fix some components after Angular 6 upgrade
[github/Chocobozzz/PeerTube.git] / client / webpack / webpack.video-embed.js
index b51808dc2198ff3d2e4493b4f863eca674e550c0..4a8879031d50abefe6aef338b767dbb0eb1c9df8 100644 (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: 700000, // 600kB
+      maxAssetSize: 700000
+    },
+
     node: {
       global: true,
       crypto: 'empty',