evanw/esbuild
evanw/esbuild
Activity
Last release
Open issues
Open PRs
License
release notes
release notes
Published 2/7/2022
PatchSafe upgradeFix property mangling and keyword properties (#1998)
Previously enabling property mangling with --mangle-props= failed to add a space before property names after a keyword. This bug has been fixed:
// Original code
class Foo {
static foo = {
get bar() {}
}
}
// Old output (with --minify --mangle-props=.)
class Foo{statics={gett(){}}}
// New output (with --minify --mangle-props=.)
class Foo{static s={get t(){}}}
release notes
Published 2/7/2022
PatchSafe upgradeFix property mangling and keyword properties (#1998)
Previously enabling property mangling with --mangle-props= failed to add a space before property names after a keyword. This bug has been fixed:
// Original code
class Foo {
static foo = {
get bar() {}
}
}
// Old output (with --minify --mangle-props=.)
class Foo{statics={gett(){}}}
// New output (with --minify --mangle-props=.)
class Foo{static s={get t(){}}}
An extremely fast bundler for the web