Explorar o código

Add corejs config to allow polyfilling of Symbol for IE11 (#17)

Alasdair Smith %!s(int64=5) %!d(string=hai) anos
pai
achega
1e1d493556
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      libraries/o-error/babel.config.json

+ 3 - 1
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 }
     }]
   ]
 }