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,3 @@
export { default } from "../iterableToArray/_index.mjs"
export default function _iterableToArray(iter) {
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
}