Skip to content

Commit b289e5a

Browse files
committed
update webpack build config, fix #76
1 parent 2c8c94f commit b289e5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webpack.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ module.exports = {
77
path: path.resolve(__dirname, 'dist'),
88
filename: 'vue-aplayer.min.js',
99
library: 'VueAPlayer',
10-
libraryTarget: 'umd'
10+
libraryTarget: 'umd',
11+
libraryExport: 'default',
12+
umdNamedDefine: true
1113
},
1214

1315
externals: {

0 commit comments

Comments
 (0)