Post
I've also experienced an increased bundle size with ESBuild & Vite. I even created a StackOverflow question regarding this issue: stackoverflow.com/q/78459815/1...
stackoverflow.comAngular 17 Vite + ESBuild bundle size increaseI've updated an Angular 17 project to the new Vite + ESBuild build system, and noticed that the bundle size increased:
WebPack Build:
ESBuild + Vite Build:
The new Vite + ESBuild version built the
This is another ticket that describes more details and has some useful examples. github.com/evanw/esbuil...
github.comNot able to treeshake library bundled with esbuild · Issue #2171 · evanw/esbuildAwesome work on the esbuild library. It has saved us lot of time with deployments. // src/Checkbox.ts export const Checkbox = { Root: CheckboxRoot, // this is a component defined above Indicator: C...
0 reposts1 like
Cool! Here's a very interesting talk that @rainerhahnekamp.bsky.social did for NG Kato regarding issues with Barrel Files: www.youtube.com/watch?v=q6P-... I'm using Sheriff in the project that I mentioned in the StackOverflow question. So I'll see if these updates also improve the bundle issue 🤞
youtube.comRainer Hahnekamp - The End of Barrel Files: New Modularization Techniques with SheriffYouTube video by Speed Date With Angular