Node build test

This commit is contained in:
Shivam Meena
2023-06-06 20:01:58 +05:30
parent e886cae9b7
commit a67890bd4d
23 changed files with 892 additions and 656 deletions

View File

@@ -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) {