1
0
Fork 0

video-embed: inject custom CSS

closes #3420
This commit is contained in:
kontrollanten 2020-12-08 14:51:51 +01:00 committed by Chocobozzz
parent ea5cdc11ff
commit 2564d97e0d
3 changed files with 11 additions and 1 deletions

View file

@ -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({