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

feat: consistent handling of source map options #108

Closed yacinehmito closed 1 year ago

yacinehmito commented 1 year ago

This changes the default behavior when handling source-map-related compiler options so that it matches tsc's behavior.

Note that this introduces somewhat of a breaking change: calls to bundle() used to always emit inline source maps — now it only occurs if the option is explicitly set to true.

Closes #105.

yacinehmito commented 1 year ago

Waiting for #98 to be merged.