esbuild-wasm-bundler/test/app.tsx

10 lines
228 B
TypeScript

import * as React from "react"
const dyn = await import("./app-dynamic.tsx");
console.log(dyn);
import Other from "./other.tsx";
console.log(Other);
React.render(<h1>sup!</h1>, document.querySelector("#app")||document.body);