]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/webpack/webpack.video-embed.js
Remove solution style ts config
[github/Chocobozzz/PeerTube.git] / client / webpack / webpack.video-embed.js
index 68749a02a20411f8a96fd40245c3e80a787cba94..2ecbd09afc1300c2417d3306dec8e5587f83aca8 100644 (file)
@@ -27,6 +27,7 @@ module.exports = function () {
 
       alias: {
         'video.js$': path.resolve('node_modules/video.js/core.js'),
+        'hls.js$': path.resolve('node_modules/hls.js/dist/hls.light.js'),
         '@root-helpers': path.resolve('src/root-helpers'),
         '@shared/models': path.resolve('../shared/models'),
         '@shared/core-utils': path.resolve('../shared/core-utils')
@@ -37,7 +38,7 @@ module.exports = function () {
         http: [ path.resolve('src/shims/http.ts') ],
         https: [ path.resolve('src/shims/https.ts') ],
         path: [ path.resolve('src/shims/path.ts') ],
-        stream: [ path.resolve('src/shims/noop.ts') ],
+        stream: [ path.resolve('src/shims/stream.ts') ],
         crypto: [ path.resolve('src/shims/noop.ts') ]
       }
     },
@@ -69,7 +70,7 @@ module.exports = function () {
             {
               loader: 'ts-loader',
               options: {
-                configFile: 'tsconfig.base.json'
+                configFile: 'tsconfig.json'
               }
             }
           ]