mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -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);
|