esbuild-wasm-bundler/app.tsx

10 lines
228 B
TypeScript
Raw Normal View History

2024-06-10 22:51:23 -04:00
import * as React from "react"
const dyn = await import("./app-dynamic.tsx");
console.log(dyn);
2024-06-08 08:09:56 -04:00
import Other from "./other.tsx";
2024-06-10 22:51:23 -04:00
2024-06-08 08:09:56 -04:00
console.log(Other);
2024-06-10 22:51:23 -04:00
React.render(<h1>sup!</h1>, document.querySelector("#app")||document.body);