Merge pull request #741 from zenorocha/feat-fix-webpack-target

feat adding es5 as target for webpack compilation
This commit is contained in:
Vitor Alencar 2021-03-10 17:29:00 +01:00 committed by GitHub
commit 47f64816eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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'),