Update watcher and component gen functions

This commit is contained in:
2026-04-04 20:02:36 +01:00
parent 48c25d2fb4
commit f34f8baa99
11 changed files with 15 additions and 20 deletions
@@ -1,6 +1,7 @@
import { jsx as _jsx } from "react/jsx-runtime";
import grabPageReactComponentString from "./grab-page-react-component-string";
import grabTsxStringModule from "./grab-tsx-string-module";
import { log } from "../../../utils/log";
export default async function grabPageBundledReactComponent({ file_path, root_file_path, server_res, }) {
try {
let tsx = grabPageReactComponentString({
@@ -21,6 +22,7 @@ export default async function grabPageBundledReactComponent({ file_path, root_fi
};
}
catch (error) {
log.error(`grabPageBundledReactComponent Error: ${error.message}`);
return undefined;
}
}