diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/standalone/videos/embed.html | 1 | ||||
-rw-r--r-- | client/webpack/webpack.video-embed.js | 10 |
2 files changed, 10 insertions, 1 deletions
diff --git a/client/src/standalone/videos/embed.html b/client/src/standalone/videos/embed.html index 908aad940..17029ec41 100644 --- a/client/src/standalone/videos/embed.html +++ b/client/src/standalone/videos/embed.html | |||
@@ -8,6 +8,7 @@ | |||
8 | <meta name="robots" content="noindex"> | 8 | <meta name="robots" content="noindex"> |
9 | <meta property="og:platform" content="PeerTube" /> | 9 | <meta property="og:platform" content="PeerTube" /> |
10 | 10 | ||
11 | <!-- custom css tag --> | ||
11 | <link rel="icon" type="image/png" href="/client/assets/images/favicon.png" /> | 12 | <link rel="icon" type="image/png" href="/client/assets/images/favicon.png" /> |
12 | </head> | 13 | </head> |
13 | 14 | ||
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({ |