From 5632353f1161ef385dc5c5bb1273eb812c756535 Mon Sep 17 00:00:00 2001 From: Ben Life Date: Mon, 11 Nov 2024 13:33:54 -0500 Subject: [PATCH] render using code_template if it exists --- .../src/vite-plugin/build/buildStart/rendering/renderer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pages/src/vite-plugin/build/buildStart/rendering/renderer.ts b/packages/pages/src/vite-plugin/build/buildStart/rendering/renderer.ts index 4b8de1a41..d6dcfc24e 100644 --- a/packages/pages/src/vite-plugin/build/buildStart/rendering/renderer.ts +++ b/packages/pages/src/vite-plugin/build/buildStart/rendering/renderer.ts @@ -30,7 +30,7 @@ export default async ( manifest: Manifest ): Promise => { const projectStructure = new ProjectStructure(manifest.projectStructure); - const feature = props.document.__.name; + const feature = props.document.__.code_template ?? props.document.__.name; const template = await readTemplateModules( feature,