Explorar el Código

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

Alasdair Smith hace 5 años
padre
commit
1e1d493556
Se han modificado 1 ficheros con 3 adiciones y 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 }
     }]
   ]
 }