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: rename emit to transpile #107

Closed yacinehmito closed 1 year ago

yacinehmito commented 1 year ago

That seems like a more consistent naming. It also disambiguates between deno_emit as a whole and emit() itself, which is only half of deno_emit.

Closes #16.

yacinehmito commented 1 year ago

If merged as-is, this would be a hard breaking change as all current imports of emit() would fail.

I can add an emit() function that delegates to transpile() and mark it as deprecated if you prefer.