Comment Comment by sebws I don't think this is true. The example from the esbuild docs uses `import * as lib from './lib.js'` in an example for tree shaking.https://esbuild.github.io/api/#tree-shakingAlthough there are associated issues but they may be specific to esbuild.https://github.com/evanw/esbuild/issues/1420 parent sebws 1 year ago
https://esbuild.github.io/api/#tree-shaking
Although there are associated issues but they may be specific to esbuild.
https://github.com/evanw/esbuild/issues/1420