mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-14 08:27:46 +01:00

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.
6 lines
214 B
JavaScript
6 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);
|