Skip to content

Commit d777765

Browse files
committed
document id in the release notes
1 parent f015d27 commit d777765

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@
7777

7878
Notice how there is no longer an unnecessary generated variable for `foo` since it's never imported. And if you only import the `default` export, esbuild will now reproduce the original JSON object in the output with all top-level properties compactly inline.
7979

80+
* Add `id` to warnings returned from the API
81+
82+
With this release, warnings returned from esbuild's API now have an `id` property. This identifies which kind of log message it is, which can be used to more easily filter out certain warnings. For example, reassigning a `const` variable will generate a message with an `id` of `"assign-to-constant"`. This also gives you the identifier you need to apply a log override for that kind of message: https://esbuild.github.io/api/#log-override.
83+
8084
## 0.14.44
8185

8286
* Add a `copy` loader ([#2255](https://github.com/evanw/esbuild/issues/2255))

0 commit comments

Comments
 (0)