Skip to content

Commit

Permalink
build: remove webpack warnings (#384)
Browse files Browse the repository at this point in the history
add an alias to use `hls.min.js`
  • Loading branch information
yairans authored Dec 8, 2020
1 parent 7c494af commit 8926752
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ function createConfig(env, argv, target) {
'@playkit-js/playkit-js': path.resolve('./node_modules/@playkit-js/playkit-js'),
'playkit-js-providers': path.resolve(`./node_modules/playkit-js-providers/dist/playkit-${playerType}-provider`),
'player-defaults': path.resolve(`./src/${playerType}/player-defaults`),
'hls.js': path.resolve('./node_modules/hls.js/dist/hls.min.js'),
poster: path.resolve(`./src/${playerType}/poster`)
},
modules: [path.resolve(__dirname, 'src'), 'node_modules']
Expand Down

0 comments on commit 8926752

Please sign in to comment.