Download Latest Version v0.28.0 source code.tar.gz (2.0 MB)
Email in envelope

Get an email when there's a new version of esbuild

Home / v0.27.7
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-04-02 859 Bytes
v0.27.7 source code.tar.gz 2026-04-02 2.0 MB
v0.27.7 source code.zip 2026-04-02 2.1 MB
Totals: 3 Items   4.1 MB 0
  • Fix lowering of define semantics for TypeScript parameter properties (#4421)

    The previous release incorrectly generated class fields for TypeScript parameter properties even when the configured target environment does not support class fields. With this release, the generated class fields will now be correctly lowered in this case:

    ```ts // Original code class Foo { constructor(public x = 1) {} y = 2 }

    // Old output (with --loader=ts --target=es2021) class Foo { constructor(x = 1) { this.x = x; __publicField(this, "y", 2); } x; }

    // New output (with --loader=ts --target=es2021) class Foo { constructor(x = 1) { __publicField(this, "x", x); __publicField(this, "y", 2); } } ```

Source: README.md, updated 2026-04-02