Particularly, esbuild is not made to maintain the worth of calling
Automagically esbuild won’t minify the fresh new labels of the market leading-top declarations. The reason being esbuild will not understand what you happen to be doing on the output. You happen to be inserting new minified code on the center regarding some other password, whereby minifying ideal-level es will be risky. Function an efficiency style (or permitting bundling, hence picks a yields structure for you for people who haven’t set one) informs esbuild that the returns will be work at with its individual range, which means it’s following safer so you can minify ideal-top es.
Automagically esbuild will not maintain the benefits on mode and class stuff. For the reason that really code doesn’t have confidence in it possessions and you can playing with faster labels is a vital proportions optimisation. Yet not, some password do have confidence in possessions to own subscription and joining purposes. If you need to rely on it you will want to permit the remain labels alternative.
- Dead-password reduction within this setting government
- Means inlining
- Cross-declaration lingering propagation
- Target figure modeling
- Allowance sinking
- Means devirtualization
- A symbol performance