Skip to content

Commit

Permalink
ignore splitted setImmediate modules in IE -> Edge compat data mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed May 2, 2022
1 parent 01ea350 commit e591ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-compat-data.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ for (const scope of [data, external]) {
map('ChromeToElectron');
}
if (!module.edge) {
if (ie && key !== 'web.immediate') {
if (ie && !key.includes('immediate')) {
module.edge = '12';
} else if (chrome) {
module.edge = String(Math.max(chrome, 74));
Expand Down

0 comments on commit e591ab7

Please sign in to comment.