Changes global variable from "Clipboard" to "ClipboardJS"

This was introduced in order to prevent a name conflict with the new `window.Clipboard` native function

For more info check:
* https://w3c.github.io/clipboard-apis/
* ac319a7ed3
This commit is contained in:
Zeno Rocha 2018-02-28 21:45:59 -08:00
parent d25dcac817
commit 750cf124d7

View File

@ -14,7 +14,7 @@ module.exports = {
output: {
filename: production ? 'clipboard.min.js' : 'clipboard.js',
path: path.resolve(__dirname, 'dist'),
library: 'Clipboard',
library: 'ClipboardJS',
libraryTarget: 'umd'
},
module: {