Skip to content

Commit

Permalink
Add back IE11 temporarily to our targets
Browse files Browse the repository at this point in the history
- In recent Browserslist version the "not dead" query removes IE11.
This breaks our ES5 check on the legacy bundle.
Add it back temporarily, until we tackle the major Babel/targets etc
revamp.
  • Loading branch information
pascalduez committed Jul 29, 2022
1 parent 2a0f4dd commit 2f939d7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ module.exports = (context, options = {}) => {
let envOpts = Object.assign(
{
targets: {
browsers: ['last 2 versions', '> 1%', 'Firefox ESR', 'not dead'],
browsers: [
'last 2 versions',
'> 1%',
'not dead',
'Firefox ESR',
'IE 11',
],
},
bugfixes: options.targets && options.targets.esmodules === true,
},
Expand Down

0 comments on commit 2f939d7

Please sign in to comment.