From 64c20dc52878af46e0bbcffe4ce0d166b5de9337 Mon Sep 17 00:00:00 2001 From: penenkel Date: Fri, 29 Nov 2019 23:06:49 +0100 Subject: [PATCH] Bug/1030 Adjust babel config to account for IE11 An attempt at adding IE11 compatibility (`ie >= 11`) while preserving the current requirements (`current node`) and following browserlist [best practices](https://github.com/browserslist/browserslist#best-practices) (`defaults`). --- babel.config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/babel.config.js b/babel.config.js index c76a0d028..c0f6a11d4 100644 --- a/babel.config.js +++ b/babel.config.js @@ -3,9 +3,7 @@ module.exports = { [ '@babel/preset-env', { - targets: { - node: 'current' - } + targets: "defaults, ie >= 11, current node" } ] ]