swc/tests/fixture/issue-1799/case2-no-loose/output/index.js
강동윤 9ffe47106a
fix(swc): Fix target (#2226)
swc:
 - Fix `target` option. (#2225)
2021-09-10 15:43:14 +09:00

16 lines
431 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = Foo;
var swcHelpers = require("@swc/helpers");
var _react = swcHelpers.interopRequireDefault(require("react"));
function Foo() {
return(/*#__PURE__*/ _react.default.createElement("div", {
onClick: swcHelpers.asyncToGenerator(function*(e) {
yield doSomething();
})
}));
}
Foo.displayName = "Foo";