diff --git a/package.json b/package.json index 9c9b207..c0392ac 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "babel-plugin-import-to-require": "~1.0.0", "mocha": "~9.1.1", "pre-commit": "~1.2.0", - "webpack": "~5.10.2", + "webpack": "~5.53.0", "webpack-cli": "~4.8.0" } } diff --git a/webpack.config.js b/webpack.config.js index a461a51..2e1d0d5 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -27,7 +27,7 @@ const config = { Meteor: join(__dirname, 'vendor', 'meteor.js') }) ], - target: 'es5' + target: ['web', 'es5'] }; module.exports = [