diff --git a/packages/shared-internals/src/template-colocation-plugin.ts b/packages/shared-internals/src/template-colocation-plugin.ts index d1b752865..4f1f0c2cd 100644 --- a/packages/shared-internals/src/template-colocation-plugin.ts +++ b/packages/shared-internals/src/template-colocation-plugin.ts @@ -105,7 +105,7 @@ export default function main(babel: typeof Babel) { } else if (t.isTSDeclareFunction(declaration)) { // we don't rewrite this } else { - path.node.declaration = t.callExpression(setComponentTemplate(path, state), [template, declaration]); + // path.node.declaration = t.callExpression(setComponentTemplate(path, state), [template, declaration]); } }, ExportNamedDeclaration(path: NodePath, state: State) {