Skip to content

Commit

Permalink
Fix karma IE11 target containing ES2015 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Jan 12, 2021
1 parent a8cd5ae commit a0a4bea
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ module.exports = function(config) {
},

esbuild: {
target: 'es5',
define: {
COVERAGE: coverage,
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || ''),
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,13 @@
"karma-chai-sinon": "^0.1.5",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.3",
"karma-esbuild": "^1.0.4",
"karma-esbuild": "^1.0.7",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sauce-launcher": "^4.3.4",
"karma-sinon": "^1.0.5",
"karma-sourcemap-loader": "^0.3.7",
"kolorist": "^1.2.9",
"kolorist": "^1.2.10",
"lint-staged": "^10.5.2",
"lodash": "^4.17.20",
"microbundle": "^0.11.0",
Expand Down

0 comments on commit a0a4bea

Please sign in to comment.