denoland / denoland/website_feedback
Serve precompiled JavaScript to the browser
Open
- Dominant language
- No language data
- Stars
- 8
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
## Reason
It would be nice to be able to directly import TypeScript modules from the browser without having to use `deno bundle`.
## Suggestions
* Every TypeScript should be compiled once to JavaScript.
* If `User-Agent` is `Deno/` or `Accept` contains `application/typescript`, serve TypeScript code. If `User-Agent` is one of the browsers and `Accept` is `*/*`, serve JavaScript code. If `Accept` contains `text/html`, serve HTML document. Otherwise, serve TypeScript code.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.