mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
feat adding es5 as target for webpack compilation
This commit is contained in:
parent
c38b4ee76f
commit
6f10cf7e12
@ -13,6 +13,7 @@ Licensed MIT © Zeno Rocha`;
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
entry: './src/clipboard.js',
|
entry: './src/clipboard.js',
|
||||||
mode: 'production',
|
mode: 'production',
|
||||||
|
target: ['web', 'es5'],
|
||||||
output: {
|
output: {
|
||||||
filename: production ? 'clipboard.min.js' : 'clipboard.js',
|
filename: production ? 'clipboard.min.js' : 'clipboard.js',
|
||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, 'dist'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user