const enum
s are not stripped when referred in another const enum
#4157
Labels
const enum
s are not stripped when referred in another const enum
#4157
> bun build --minify test.ts
> console.log(18);
> bunx esbuild --minify test.ts
> "use strict";var First=(l=>(l[l.A=1]="A",l[l.B=2]="B",l[l.C=3]="C",l))(First||{}),Second=(l=>(l[l.D=2]="D",l[l.E=6]="E",l[l.F=12]="F",l))(Second||{});console.log(18);
The text was updated successfully, but these errors were encountered: