mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
c047e0e54d
swc_bundler: - Create variables for export while preparing a module. (denoland/deno#9560) - Fix order of statements. - Invoke dce multiple time if required. (denoland/deno#9546) swc_ecma_transforms_optimization: - dce: Track modifications correctly.
4 lines
84 B
TypeScript
4 lines
84 B
TypeScript
export const water = 'Water';
|
|
export function isWater(x) {
|
|
return x === water;
|
|
} |