swc/tests/fixture/issue-1924/case1/output/index.js
Iron Lu 4a9b31df3e
fix(swc): Fix order of passes (#1931)
swc:
 - Run `import_analyzer` after  `regenerator`.
2021-07-17 13:12:30 +09:00

18 lines
500 B
JavaScript

"use strict";
var _regeneratorRuntime = _interopRequireDefault(require("regenerator-runtime"));
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
var _marked = _regeneratorRuntime.default.mark(foo);
function foo() {
return _regeneratorRuntime.default.wrap(function foo$(_ctx) {
while(1)switch(_ctx.prev = _ctx.next){
case 0:
case "end":
return _ctx.stop();
}
}, _marked);
}