Fix UMD bug

This commit is contained in:
DIYgod 2016-09-26 01:50:13 +08:00
parent 62d146a9dc
commit 1386beaa27
No known key found for this signature in database
GPG Key ID: F8797DD1088C6506
4 changed files with 4 additions and 3 deletions

2
dist/APlayer.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -785,4 +785,4 @@ class APlayer {
}
}
export {APlayer};
module.exports = APlayer;

View File

@ -14,6 +14,7 @@ module.exports = {
output: {
path: BUILD_PATH,
filename: 'APlayer.min.js',
library: 'APlayer',
libraryTarget: 'umd',
umdNamedDefine: true
},