0.0.1-alpha2
A Deno custom loader for supporting importing other files those are not import-able, for the sake of types.
Attributes
Includes Deno configuration
Repository
Current version released
3 years ago
Dependencies
std
CustomLoader
A Deno custom loader for supporting importing other files for the sake of types.
For parsing HTML, it uses Deno DOM
For parsing CSS, it uses NPM/CSS
For other ext files those are not supported by ESM, it will just make a TypeScript file that export Uint8Array.
Examples
You can check examples/http.ts. Basically it will make a HTTP server so Deno can cache the files and there will be TypeScript types. You can try by running
$ deno run -A examples/http.ts$ deno run -A examples/client.tsCaution
It is not extendable and production ready yet.