Put back ESM helpers in a folder where we can use .js (#12919)

This commit is contained in:
Nicolò Ribaudo
2021-03-01 17:31:12 +01:00
committed by GitHub
parent a653b9c08e
commit 9844eeee84
38 changed files with 1355 additions and 1365 deletions

View File

@@ -1 +1,6 @@
export { default } from "../iterableToArray/_index.mjs"
import _Symbol from "@babel/runtime-corejs2/core-js/symbol";
import _isIterable from "@babel/runtime-corejs2/core-js/is-iterable";
import _Array$from from "@babel/runtime-corejs2/core-js/array/from";
export default function _iterableToArray(iter) {
if (typeof _Symbol !== "undefined" && _isIterable(Object(iter))) return _Array$from(iter);
}