Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 51e327a

Browse files
committed
Change library name
1 parent ec3a465 commit 51e327a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

webpack/webpack.prod.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ module.exports = merge(config, {
88
entry: './src/index.tsx',
99
devtool: 'source-map',
1010
output: {
11-
path: path.resolve(__dirname, 'dist'),
11+
path: path.resolve(__dirname, '..', 'dist'),
1212
filename: 'react-hls-player.js',
1313
libraryTarget: 'umd',
14-
library: 'reactHlsPlayer',
14+
library: 'react-hls-player',
1515
globalObject: 'this',
1616
umdNamedDefine: true,
1717
},
@@ -21,6 +21,5 @@ module.exports = merge(config, {
2121
},
2222
externals: {
2323
react: 'commonjs react',
24-
'react-dom': 'commonjs react-dom',
2524
},
2625
});

0 commit comments

Comments
 (0)