Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(esbuild): do not ignore annotations when the minify shorthand attribute is false #3106

Commits on Dec 2, 2021

  1. fix(esbuild): do not ignore annotations when the minify shorthand a…

    …ttribute is disabled
    
    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.
    devversion committed Dec 2, 2021
    Configuration menu
    Copy the full SHA
    78e8990 View commit details
    Browse the repository at this point in the history