From 26963ad44650a8a53ac5d3da0ef7d2ae47c18e8a Mon Sep 17 00:00:00 2001 From: kejun Date: Sat, 29 Jul 2023 15:39:51 +0800 Subject: [PATCH] chore: fix build error --- packages/core/src/customBlock.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/customBlock.ts b/packages/core/src/customBlock.ts index 01426ee..5bc1cb5 100644 --- a/packages/core/src/customBlock.ts +++ b/packages/core/src/customBlock.ts @@ -83,7 +83,7 @@ export async function getRouteSfcBlock(path: string): Promise { +export async function getRouteBlock(path: string, blockStr: SFCBlock | undefined, options: ResolvedOptions): Promise { if (!blockStr) return return parseCustomBlock(blockStr, path, options)