swc/tests/fixture/issue-1213/output/index.js

23 lines
444 B
JavaScript
Raw Normal View History

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _foo = _interopRequireDefault(require("foo"));
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
class OK {
constructor(){
console.log(_foo.default);
}
}
class NotOK {
constructor(){
console.log(_foo.default);
}
}
exports.default = NotOK;