npm esbuild 0.13.2
v0.13.2

latest releases: 0.24.0, 0.23.1, 0.23.0...
3 years ago
  • Fix export {} statements with --tree-shaking=true (#1628)

    The new --tree-shaking=true option allows you to force-enable tree shaking in cases where it wasn't previously possible. One such case is when bundling is disabled and there is no output format configured, in which case esbuild just preserves the format of whatever format the input code is in. Enabling tree shaking in this context caused a bug where export {} statements were stripped. This release fixes the bug so export {} statements should now be preserved when you pass --tree-shaking=true. This bug only affected this new functionality and didn't affect existing scenarios.

Don't miss a new esbuild release

NewReleases is sending notifications on new releases.