X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fwebpack%2Fwebpack.video-embed.js;h=d578443fe925174bfe7e7b4bd6e1c914d66f61e6;hb=f87b05de26279b7503a032cdbb0faccba17d4c4e;hp=70141527c18190efa8866e9c64e8ac86fb1571b2;hpb=c4f7fe09cd014b0ec5c0d64fd320780c45461c06;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/webpack/webpack.video-embed.js b/client/webpack/webpack.video-embed.js index 70141527c..d578443fe 100644 --- a/client/webpack/webpack.video-embed.js +++ b/client/webpack/webpack.video-embed.js @@ -122,7 +122,15 @@ module.exports = function () { title: 'PeerTube', chunksSortMode: 'auto', inject: 'body', - chunks: ['video-embed'] + chunks: ['video-embed'], + minify: { + collapseWhitespace: true, + removeComments: false, + removeRedundantAttributes: true, + removeScriptTypeAttributes: true, + removeStyleLinkTypeAttributes: true, + useShortDoctype: true + } }), new HtmlWebpackPlugin({