chore(script/jsx): move Preact API in dedicated object

This commit is contained in:
Elian Doran
2025-12-20 20:10:19 +02:00
parent 644ff07a50
commit 4d7e5bc8f6
3 changed files with 13 additions and 7 deletions

View File

@@ -0,0 +1,7 @@
import { Fragment, h } from "preact";
export const preactAPI = Object.freeze({
// Core
h,
Fragment
});