From 9384f1cc4e3f5411e82d2391b707acdd6d533007 Mon Sep 17 00:00:00 2001 From: David Chanin Date: Wed, 24 Feb 2021 12:14:14 +0000 Subject: [PATCH] fix: support older node and browser versions (#221) --- babel.config.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/babel.config.js b/babel.config.js index 1f86f72c9..9a006a6db 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,13 +1,14 @@ module.exports = { presets: [ [ - "@babel/preset-env", + '@babel/preset-env', { targets: { - node: "current", + browsers: '>2%', + node: '12', }, }, ], - "@babel/preset-typescript", + '@babel/preset-typescript', ], };