deno-udd
deno-udd copied to clipboard
Discussion: support generating import map file instead of modifying deps.ts
Some application developers may prefer import maps instead of the deps.ts pattern. Would it be within the scope of udd to create/modify an import map file instead of using deps.ts?
For sure, in principle it should work already but I've neglected to add tests.
udd importmap.json
I expect to work (if not is a bug). But let's not close this til it's tested.
Awesome, I didn't see this documented. I'll give it a test sometime soon, I have a side-project I'm deploying with Deno using import maps. Deno 0.42.0 is scheduled out soon so I'll have to update my std dependency ;)
Note: this will have to be special cased once #8 is included in deno (i.e. deno info as json / api).