aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/webpack
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-07 16:50:33 +0200
committerChocobozzz <me@florianbigard.com>2018-06-07 16:50:33 +0200
commit6cca7360eb9027e1544f7513df7da4684061ef7e (patch)
tree16550f99324234a94cb7cdb098001051400079c9 /client/webpack
parent09f35e2a6fa71d593c9b22f90109e91fc6be89a1 (diff)
downloadPeerTube-6cca7360eb9027e1544f7513df7da4684061ef7e.tar.gz
PeerTube-6cca7360eb9027e1544f7513df7da4684061ef7e.tar.zst
PeerTube-6cca7360eb9027e1544f7513df7da4684061ef7e.zip
Reduce bundle sizes
Diffstat (limited to 'client/webpack')
-rw-r--r--client/webpack/webpack.video-embed.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/client/webpack/webpack.video-embed.js b/client/webpack/webpack.video-embed.js
index 5a4e35dea..403a65930 100644
--- a/client/webpack/webpack.video-embed.js
+++ b/client/webpack/webpack.video-embed.js
@@ -1,4 +1,5 @@
1const helpers = require('./helpers') 1const helpers = require('./helpers')
2const path = require('path')
2 3
3const CheckerPlugin = require('awesome-typescript-loader').CheckerPlugin 4const CheckerPlugin = require('awesome-typescript-loader').CheckerPlugin
4const HtmlWebpackPlugin = require('html-webpack-plugin') 5const HtmlWebpackPlugin = require('html-webpack-plugin')
@@ -24,7 +25,11 @@ module.exports = function () {
24 */ 25 */
25 extensions: [ '.ts', '.js', '.json', '.scss' ], 26 extensions: [ '.ts', '.js', '.json', '.scss' ],
26 27
27 modules: [ helpers.root('src'), helpers.root('node_modules') ] 28 modules: [ helpers.root('src'), helpers.root('node_modules') ],
29
30 alias: {
31 'video.js$': path.resolve('node_modules/video.js/dist/alt/video.core.js')
32 }
28 }, 33 },
29 34
30 output: { 35 output: {