Split @babel/runtime into two separate runtime modules.

This commit is contained in:
Logan Smyth
2018-06-24 10:50:26 -07:00
parent 3210a7a873
commit a8224d40e2
74 changed files with 382 additions and 122 deletions

View File

@@ -0,0 +1,5 @@
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);
}