IssueRaiser

[RFE] unbundled / preserveModules support

I quite like the design and speed of esbuild, but I found that when I use it with `bundle: false` it doesn't do what I would expect. The dependencies of entrypoints are not built unless they are also listed as entrypoints. Even if the deps are listed as entrypoints, the import paths are not adjusted so they won't work. So it would be nice if esbuild `bundle: false` worked like rollup's [preserveModules](https://rollupjs.org/guide/en/#outputpreservemodules).

Posted by akvadrako on Jan 26, 2021, 12:51 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,000 issues0 comments

support (Other)

[RFE] unbundled / preserveModules support

akvadrakoJan 26, 2021, 12:51 PM

I quite like the design and speed of esbuild, but I found that when I use it with `bundle: false` it doesn't do what I would expect. The dependencies of entrypoints are not built unless they are also listed as entrypoints. Even if the deps are listed as entrypoints, the import paths are not adjusted so they won't work. So it would be nice if esbuild `bundle: false` worked like rollup's [preserveModules](https://rollupjs.org/guide/en/#outputpreservemodules).

Comments (0)

No comments yet. Start the discussion.

Comment on this issue