mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-12-05 05:41:24 -05:00
b449ace4b4
Under the hood, preact is used to reduce dependency size. We still don't have a build stage, so htm is used instead of JSX.
5 lines
214 B
JavaScript
5 lines
214 B
JavaScript
export * from "/node_modules/preact/dist/preact.module.js";
|
|
|
|
import { h } from "/node_modules/preact/dist/preact.module.js";
|
|
import htm from "/node_modules/htm/dist/htm.module.js";
|
|
export const html = htm.bind(h);
|