Fix UMD bug

This commit is contained in:
DIYgod
2016-09-26 01:50:13 +08:00
parent 62d146a9dc
commit 1386beaa27
4 changed files with 4 additions and 3 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -785,4 +785,4 @@ class APlayer {
}
}
export {APlayer};
module.exports = APlayer;
+1
View File
@@ -14,6 +14,7 @@ module.exports = {
output: {
path: BUILD_PATH,
filename: 'APlayer.min.js',
library: 'APlayer',
libraryTarget: 'umd',
umdNamedDefine: true
},