hyrious/esbuild-split-vendors-example

Further limitation: No vendor tree shaking

Closed this issue · 1 comments

Further limitation: No vendor tree shaking

Yes, vendors are bundled with require() even for esm packages so all their exports are treated as "used". Note that the same behavior exists in vite, further tree-shaking is done by rollup.