Closed this issue 3 years ago · 1 comments
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.
require()