Bugfix. Update Tsx server stripping function to have absolute paths. Run the rewrite function on dev and build commands.
This commit is contained in:
Vendored
+1
@@ -17,6 +17,7 @@ export default async function rewritePagesModule(params) {
|
||||
const origin_page_content = await Bun.file(page_path).text();
|
||||
const dst_page_content = stripServerSideLogic({
|
||||
txt_code: origin_page_content,
|
||||
file_path: page_path,
|
||||
});
|
||||
await Bun.write(dst_path, dst_page_content, {
|
||||
createPath: true,
|
||||
|
||||
Reference in New Issue
Block a user