mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
chore: fix es6 export issue.
This commit is contained in:
parent
5de8be447f
commit
780d390856
|
@ -17,8 +17,9 @@ module.exports = {
|
||||||
filename: production ? 'clipboard.min.js' : 'clipboard.js',
|
filename: production ? 'clipboard.min.js' : 'clipboard.js',
|
||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, 'dist'),
|
||||||
library: 'ClipboardJS',
|
library: 'ClipboardJS',
|
||||||
libraryTarget: 'umd',
|
globalObject: 'this',
|
||||||
globalObject: 'this'
|
libraryExport: 'default',
|
||||||
|
libraryTarget: 'umd'
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user