diff options
Diffstat (limited to 'client/webpack')
-rw-r--r-- | client/webpack/webpack.video-embed.js | 7 |
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 @@ | |||
1 | const helpers = require('./helpers') | 1 | const helpers = require('./helpers') |
2 | const path = require('path') | ||
2 | 3 | ||
3 | const CheckerPlugin = require('awesome-typescript-loader').CheckerPlugin | 4 | const CheckerPlugin = require('awesome-typescript-loader').CheckerPlugin |
4 | const HtmlWebpackPlugin = require('html-webpack-plugin') | 5 | const 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: { |