denoland / deno_emit

Transpile and bundle JavaScript and TypeScript under Deno and Deno Deploy
https://jsr.io/@deno/emit
MIT License
223 stars 23 forks source link

`deno_emit::bundle_graph` only bundles the first root of `ModuleGraph` #153

Open yklcs opened 11 months ago

yklcs commented 11 months ago

deno_emit::bundle_graph only bundles the first root of ModuleGraph.

https://github.com/denoland/deno_emit/blob/f3ac33d645371e6d94a538fe9c0d24ea22ba732b/rs-lib/src/emit.rs#L198

This behavior should be reflected in the documentation, or BundleEmit should support output with multiple roots.