Reproduction link or steps
https://stackblitz.com/edit/github-6a5oovrc-rnyrppux?file=src%2Fmain.js
What is expected?
console.log(1);
console.log(1);
to be output.
What is actually happening?
var Foo = /* @__PURE__ */ function(Foo) {
Foo[Foo["A"] = 1] = "A";
return Foo;
}(Foo || {});
console.log(Foo.A);
console.log(Foo["A"]);
is output.
System Info
Stackblitz
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 22.22.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.8.2 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
npmPackages:
rolldown: 1.0.0-rc.17 => 1.0.0-rc.17
Any additional comments?
No response
Reproduction link or steps
https://stackblitz.com/edit/github-6a5oovrc-rnyrppux?file=src%2Fmain.js
What is expected?
to be output.
What is actually happening?
is output.
System Info
Stackblitz System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 22.22.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.8.2 - /usr/local/bin/npm pnpm: 8.15.6 - /usr/local/bin/pnpm npmPackages: rolldown: 1.0.0-rc.17 => 1.0.0-rc.17Any additional comments?
No response