chore: fix es6 export issue.

This commit is contained in:
LeuisKen 2018-11-13 13:20:19 +08:00 committed by Zeno Rocha
parent 5de8be447f
commit 780d390856

View File

@ -17,8 +17,9 @@ module.exports = {
filename: production ? 'clipboard.min.js' : 'clipboard.js',
path: path.resolve(__dirname, 'dist'),
library: 'ClipboardJS',
libraryTarget: 'umd',
globalObject: 'this'
globalObject: 'this',
libraryExport: 'default',
libraryTarget: 'umd'
},
module: {
rules: [