Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion: support generating import map file instead of modifying deps.ts #7

Open
crabmusket opened this issue Apr 20, 2020 · 3 comments

Comments

@crabmusket
Copy link

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?

@hayd
Copy link
Owner

hayd commented Apr 20, 2020

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.

@crabmusket
Copy link
Author

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 ;)

@hayd
Copy link
Owner

hayd commented Jun 17, 2020

Note: this will have to be special cased once #8 is included in deno (i.e. deno info as json / api).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants