mirror of
https://github.com/LukeHagar/sveltekit-og.git
synced 2025-12-07 12:47:50 +00:00
Node build test
This commit is contained in:
@@ -60,7 +60,7 @@ const root: VNode = {
|
||||
};
|
||||
/* End of satori-html */
|
||||
|
||||
const toReactElement = (htmlString: string): VNode => {
|
||||
export const toReactElement = (htmlString: string): VNode => {
|
||||
const svelteAST: Ast = parse(htmlString);
|
||||
walk(svelteAST, {
|
||||
enter(node: any, parent: any, prop: any, index: any) {
|
||||
|
||||
Reference in New Issue
Block a user