Go to file
2024-06-14 17:07:50 -04:00
.vscode lots of changes 2024-06-14 17:07:50 -04:00
test prep work started 2024-06-12 17:05:41 -04:00
deno.json lots of changes 2024-06-14 17:07:50 -04:00
introspect.ts lots of changes 2024-06-14 17:07:50 -04:00
jsapi.tsx lots of changes 2024-06-14 17:07:50 -04:00
mod.ts lots of changes 2024-06-14 17:07:50 -04:00
README.md prep work started 2024-06-12 17:05:41 -04:00
serve.tsx lots of changes 2024-06-14 17:07:50 -04:00

Bundle that .TSX in your Deno project for the browser.

Supports import maps and runs on Deno Deploy

You can 1) run the bundler yourself and collect the transpiled output, or 2) just point the included static file server to some local (or HTTP!) files to get up and running quickly.

TypeScript API

import Bundle from "./mod.ts";
Bundle(
    // ESBuild configuration:
    {entry:["./app.tsx"]},

    // import map:
    {"imports": {
        "react": "https://esm.sh/preact@10.22.0/compat",
        "react/": "https://esm.sh/preact@10.22.0/compat/"
    }}
);