Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Serve type stripped versions of files #356

Closed
lucacasonato opened this issue May 2, 2020 · 4 comments
Closed

Serve type stripped versions of files #356

lucacasonato opened this issue May 2, 2020 · 4 comments

Comments

@lucacasonato
Copy link
Member

https://deno.land/std/http/mod.ts -> https://deno.land/std/http/mod.ts?js

@mreinstein
Copy link

mreinstein commented May 2, 2020

this along with #358 would enable the use case of loading modules directly from a browser, which would be phenomenal.

@ry
Copy link
Member

ry commented May 3, 2020

ideally just
https://deno.land/std/http/mod.ts -> https://deno.land/std/http/mod.js

@lucacasonato
Copy link
Member Author

lucacasonato commented May 5, 2020

Thought about this, but this is relatively difficult because all imports also need to be rewritten from '.ts' to '.js' which is annoying. Serving a bundle at https://deno.land/std/http/mod.ts?bundle might be easier as a first pass.

@lucacasonato
Copy link
Member Author

This is part of the registry roadmap: denoland/deno_registry2#35

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

No branches or pull requests

3 participants