From e341d52783255226a16d459875e75da974113a61 Mon Sep 17 00:00:00 2001 From: Jovi De Croock Date: Mon, 5 Feb 2024 14:12:32 +0100 Subject: [PATCH] fix babel import --- packages/create-fuse-app/src/rewrite-next.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-fuse-app/src/rewrite-next.ts b/packages/create-fuse-app/src/rewrite-next.ts index be1ef4c3..b2e104db 100644 --- a/packages/create-fuse-app/src/rewrite-next.ts +++ b/packages/create-fuse-app/src/rewrite-next.ts @@ -53,7 +53,7 @@ const plugin = ( ExportDefaultDeclaration(path) { if (isMjs) { const currentDeclaration = path.node.declaration - path.node.declaration = t.callExprssion( + path.node.declaration = t.callExpression( t.callExpression(t.identifier('nextFusePlugin'), []), [currentDeclaration], )