Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Node modules compatibility: add ".js" extension to imported polyfills
- Loading branch information
1 parent
fe258de
commit 071d622
Showing
4 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/babel-runtime-corejs2/helpers/esm/iterableToArray.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import _Array$from from "../../core-js/array/from"; | ||
import _isIterable from "../../core-js/is-iterable"; | ||
import _Array$from from "../../core-js/array/from.js"; | ||
import _isIterable from "../../core-js/is-iterable.js"; | ||
export default function _iterableToArray(iter) { | ||
if (_isIterable(Object(iter)) || Object.prototype.toString.call(iter) === "[object Arguments]") return _Array$from(iter); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters