swc/bundler/tests/fixture/deno-9560/case1/output/entry.inlined.ts
Donny/강동윤 d0342a5a58
feat(swcpack): Enable concurrent mode (#2356)
swc_common:
 - Use `Mutex` from `parking_lot` instead of it from std.

swc_bundler:
 - Use `fxhash` if possible.
 - Don't `clone()` all modules if the entry has only one item.

swc_ecma_loader:
 - `NodeModulesResolver`: Use `path-clean` instead of `canonicalize`.

swc_ecma_transforms_optimization:
 - Reimplement `dce`

node_bundler:
 - Enable `concurrent` of `swc_bundler`.
2021-10-08 16:47:01 +09:00

14 lines
225 B
TypeScript

const water = 'Water';
function isWater1(x) {
return x === water;
}
const mod = {
water: water,
isWater: isWater1
};
function foo1(x) {
return mod[x];
}
export { foo1 as foo };
export { isWater1 as isWater };