Skip to content

Repository files navigation

Buildless CJS+ESM+TS+Importmaps for the browser.

<!doctype html>

<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Buildless CJS+ESM+TS+Importmaps for the browser.</title>
  <script type="importmap">
    {
      "imports": {
        "@swc/wasm-web": "https://esm.sh/@swc/wasm-web",
        "@jsxRuntime": "https://esm.sh/preact",
        "preact": "https://esm.sh/preact",
        "preact/hooks": "https://esm.sh/preact/hooks",
        "preact/jsx-runtime": "https://esm.sh/preact/jsx-runtime",
        "confetti": "https://esm.sh/canvas-confetti"
      }
    }
  </script>
</head>

<body>
  <div id="app"></div>
  <script src="require.js"></script>
  <script src="require-esm-ts.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
  <script src="client.tsx" type="text/typescript"></script>
</body>

</html>

Support me

Buy Me A Coffee

License

MIT

About

Buildless CJS+ESM+TS+Importmaps for the browser.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages