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 = {
|
||||
entry: './src/clipboard.js',
|
||||
mode: 'production',
|
||||
target: ['web', 'es5'],
|
||||
output: {
|
||||
filename: production ? 'clipboard.min.js' : 'clipboard.js',
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
|
|
Loading…
Reference in New Issue