* [preset-env] Don't use async-to-generator when already using regenerator * Add tests * Update fixtures
10 lines
210 B
JavaScript
10 lines
210 B
JavaScript
function foo() {
|
|
return regeneratorRuntime.async(function foo$(_context) {
|
|
while (1) switch (_context.prev = _context.next) {
|
|
case 0:
|
|
case "end":
|
|
return _context.stop();
|
|
}
|
|
});
|
|
}
|