aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/webpack
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2020-12-08 14:51:51 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-12-14 15:25:51 +0100
commit2564d97e0d77340ede0031936082cc37d6f8fd79 (patch)
tree3bf53a1e78d3f591c9007f0a2f942c168859a5bd /client/webpack
parentea5cdc11ff76d6292351ffc5dbbd00e44bfd7cca (diff)
downloadPeerTube-2564d97e0d77340ede0031936082cc37d6f8fd79.tar.gz
PeerTube-2564d97e0d77340ede0031936082cc37d6f8fd79.tar.zst
PeerTube-2564d97e0d77340ede0031936082cc37d6f8fd79.zip
video-embed: inject custom CSS
closes #3420
Diffstat (limited to 'client/webpack')
-rw-r--r--client/webpack/webpack.video-embed.js10
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({