Specifically, esbuild is not built to preserve the worth of contacting
By default esbuild wouldn’t minify the names of top-peak declarations. It is because esbuild doesn’t understand what you might be starting into the yields. You are injecting the new minified password into middle away from various other code, whereby minifying ideal-peak parece would be hazardous. Mode a yields format (otherwise enabling bundling, hence picks an output structure for you for folks who haven’t put one) says to esbuild that productivity will be focus on in its very own scope, and thus it is following secure in order to minify better-top parece.
Automatically esbuild cannot maintain the importance into the setting and you will class objects. The reason being most password will not trust this property and you may having fun with quicker labels is a vital size optimisation. But not, specific code does trust property for membership and you can binding motives. If you need to believe in that it you should let the continue labels option.
- Dead-code removal contained in this mode authorities
- Setting inlining
- Cross-report ongoing propagation
- Object shape modeling
- Allotment sinking
- Strategy devirtualization
- Emblematic delivery