diff options
Diffstat (limited to 'client/webpack/webpack.video-embed.js')
-rw-r--r-- | client/webpack/webpack.video-embed.js | 10 |
1 files changed, 9 insertions, 1 deletions
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 () { | |||
122 | title: 'PeerTube', | 122 | title: 'PeerTube', |
123 | chunksSortMode: 'auto', | 123 | chunksSortMode: 'auto', |
124 | inject: 'body', | 124 | inject: 'body', |
125 | chunks: ['video-embed'] | 125 | chunks: ['video-embed'], |
126 | minify: { | ||
127 | collapseWhitespace: true, | ||
128 | removeComments: false, | ||
129 | removeRedundantAttributes: true, | ||
130 | removeScriptTypeAttributes: true, | ||
131 | removeStyleLinkTypeAttributes: true, | ||
132 | useShortDoctype: true | ||
133 | } | ||
126 | }), | 134 | }), |
127 | 135 | ||
128 | new HtmlWebpackPlugin({ | 136 | new HtmlWebpackPlugin({ |