From 1e1d493556040fbb5710527fe1faebbb8f083377 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Fri, 22 Jan 2021 12:12:07 +0000 Subject: [PATCH] Add corejs config to allow polyfilling of Symbol for IE11 (#17) --- libraries/o-error/babel.config.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/o-error/babel.config.json b/libraries/o-error/babel.config.json index 99b8675a89..323859935b 100644 --- a/libraries/o-error/babel.config.json +++ b/libraries/o-error/babel.config.json @@ -1,7 +1,9 @@ { "presets": [ ["@babel/env", { - "targets": ["last 1 year", "ie 11", "firefox esr"] + "targets": ["last 1 year", "ie 11", "firefox esr"], + "useBuiltIns": "usage", + "corejs": { "version": 3 } }] ] }