]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/webpack/webpack.video-embed.js
Add french
[github/Chocobozzz/PeerTube.git] / client / webpack / webpack.video-embed.js
index b51808dc2198ff3d2e4493b4f863eca674e550c0..5a4e35deac3e1ce5e9599b7e396e9dc7cce07dc9 100644 (file)
@@ -35,6 +35,8 @@ module.exports = function () {
       publicPath: '/client/standalone/videos/'
     },
 
+    // devtool: 'source-map',
+
     module: {
 
       rules: [
@@ -99,7 +101,7 @@ module.exports = function () {
 
     plugins: [
       new ExtractTextPlugin({
-        filename: '[name].[contenthash].css'
+        filename: '[name].[hash].css'
       }),
 
       new PurifyCSSPlugin({
@@ -135,6 +137,11 @@ module.exports = function () {
       })
     ],
 
+    performance: {
+      maxEntrypointSize: 700000, // 600kB
+      maxAssetSize: 700000
+    },
+
     node: {
       global: true,
       crypto: 'empty',