denoland / denoland/website_feedback

Serve precompiled JavaScript to the browser

Open
#19 36 comments 21 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.