fix corner cases in sourceMap (#3397)

fixes #3255
fixes #3294
This commit is contained in:
Alex Lam S.L
2019-05-04 20:08:57 +08:00
committed by GitHub
parent a89d424a0b
commit 11cdab745d
9 changed files with 69 additions and 9 deletions

View File

@@ -0,0 +1,11 @@
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
var _require = require("bar"),
foo = _require.foo;
var _require2 = require("world"),
hello = _require2.hello;
foo.x.apply(foo, _toConsumableArray(foo.y(hello.z)));
//# sourceMappingURL=input.js.map