X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=client%2Fwebpack%2Fwebpack.video-embed.js;h=3f280519200d424f93d82fed34bc2acd03d03d6d;hb=0b684daa3dbbe24bd3871eff46093c6aaa02e9cf;hp=f5c75dd47597c1cfa357b7ec9ef9a8ecc4d12a17;hpb=2873f00bd89d8f1b5f88614415f8142a5c2065c3;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/webpack/webpack.video-embed.js b/client/webpack/webpack.video-embed.js index f5c75dd47..3f2805192 100644 --- a/client/webpack/webpack.video-embed.js +++ b/client/webpack/webpack.video-embed.js @@ -24,6 +24,8 @@ module.exports = function () { modules: [ helpers.root('src'), 'node_modules' ], + symlinks: true, + alias: { 'video.js$': path.resolve('node_modules/video.js/core.js'), 'hls.js$': path.resolve('node_modules/hls.js/dist/hls.light.js'), @@ -69,7 +71,7 @@ module.exports = function () { { loader: 'ts-loader', options: { - configFile: helpers.root('tsconfig.json') + configFile: helpers.root('src/standalone/videos/tsconfig.json') } } ]