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
Yes, definitely heard that too. In fact our bundle size tests caught a regression where an import like import * as _utils from 'path'; Caused none of that code to be tree shaken. This may also be dependent on the tsconfig build target and the format of the output code
0 reposts1 like