Patrick (he/him)P
Denoβ€’3y agoβ€’
6 replies
Patrick (he/him)

Smoother DX using 3rd party modules written in TypeScript in the Browser

Say, for instance, I want to use the "async" standard library's Deferred implementation in some code that runs in the Browser. Currently I manually copy the TypeScript source to a vendor folder and have my build step do the transpilation, then have my import map point to the transpiled code. Is there a way to have Deno or a complimentary tool do the transpiling with less manual intervention and allow a developer to use the original URL for the TypeScript module in their import map?

[Aside: wasn't quite sure whether to post this in #help or #ideas . Kinda straddles the line to me πŸ€·πŸ»β€β™‚οΈ ]
Was this page helpful?