Fix UMD bug
This commit is contained in:
parent
62d146a9dc
commit
1386beaa27
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -785,4 +785,4 @@ class APlayer {
|
|||
}
|
||||
}
|
||||
|
||||
export {APlayer};
|
||||
module.exports = APlayer;
|
||||
|
|
@ -14,6 +14,7 @@ module.exports = {
|
|||
output: {
|
||||
path: BUILD_PATH,
|
||||
filename: 'APlayer.min.js',
|
||||
library: 'APlayer',
|
||||
libraryTarget: 'umd',
|
||||
umdNamedDefine: true
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue