From 1dc53db11623c37c85434a0d9c7f1cf2018b8326 Mon Sep 17 00:00:00 2001 From: Igor Octaviano Date: Fri, 1 Nov 2024 11:03:02 -0300 Subject: [PATCH] Add ie support (#156) --- babel.config.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/babel.config.js b/babel.config.js index ea08acff..4a8cb816 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,11 +1,17 @@ module.exports = { - presets: [['@babel/preset-env', { targets: { node: 'current' } }]], + presets: [ + ['@babel/preset-env', { + targets: { + browsers: ['ie 11'] + } + }] + ], plugins: [ - ['@babel/plugin-proposal-object-rest-spread'], ['@babel/plugin-transform-runtime', { regenerator: true, corejs: 3 - }] + } + ] ] }