From 57b439a255bb288453f6e6d09dae5b6e6abf0f6f Mon Sep 17 00:00:00 2001 From: Christoph Tavan Date: Thu, 2 Dec 2021 11:21:09 +0100 Subject: [PATCH] build: drop IE11 support BREAKING CHANGE: Drop support for IE11 --- babel.config.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/babel.config.json b/babel.config.json index cd9b48ff..4edbcbc6 100644 --- a/babel.config.json +++ b/babel.config.json @@ -6,7 +6,20 @@ "presets": [["@babel/preset-env", { "targets": { "node": "10" }, "modules": "commonjs" }]] }, "esmBrowser": { - "presets": [["@babel/preset-env", { "modules": false }]] + "presets": [ + [ + "@babel/preset-env", + { + "targets": { + "chrome": "49", + "edge": "14", + "firefox": "51", + "safari": "11" + }, + "modules": false + } + ] + ] }, "esmNode": { "presets": [["@babel/preset-env", { "targets": { "node": "10" }, "modules": false }]]