Revert "Add ".js" extension to injected polyfill imports (#10549)" (#10835)

This reverts commit d3a37b5d08.
This commit is contained in:
Huáng Jùnliàng
2019-12-07 17:05:35 -05:00
committed by Nicolò Ribaudo
parent 655a972737
commit 4436ffd604
193 changed files with 4548 additions and 4547 deletions

View File

@@ -1,5 +1,5 @@
import _Array$from from "../../core-js/array/from.js";
import _isIterable from "../../core-js/is-iterable.js";
import _Array$from from "../../core-js/array/from";
import _isIterable from "../../core-js/is-iterable";
export default function _iterableToArray(iter) {
if (_isIterable(Object(iter)) || Object.prototype.toString.call(iter) === "[object Arguments]") return _Array$from(iter);
}

View File

@@ -1,6 +1,6 @@
var _Array$from = require("../core-js/array/from.js");
var _Array$from = require("../core-js/array/from");
var _isIterable = require("../core-js/is-iterable.js");
var _isIterable = require("../core-js/is-iterable");
function _iterableToArray(iter) {
if (_isIterable(Object(iter)) || Object.prototype.toString.call(iter) === "[object Arguments]") return _Array$from(iter);