Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(esbuild): do not ignore annotations when the
minify
shorthand a…
…ttribute is disabled (#3106) Pure annotations are currently always ignored if `esbuild(minify = False)`. There are cases where a consumer will set fine-grained minification options through `args`, but currently cannot do this without setting `minify = True` as otherwise pure annotations would always be preserved. This magical behavior should be removed and the consumer should be responsible for enabling this if tree-shaking is undesirable.
- Loading branch information