From 64ea1f8fe2973887d09d86b895a9eafa306c6957 Mon Sep 17 00:00:00 2001 From: gchust Date: Mon, 18 Nov 2024 15:57:02 +0800 Subject: [PATCH] fix: yarn dev will throw errors if loading released plugins (#5671) --- packages/core/build/src/buildPlugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/build/src/buildPlugin.ts b/packages/core/build/src/buildPlugin.ts index 5c6a912bd..1d99a734f 100644 --- a/packages/core/build/src/buildPlugin.ts +++ b/packages/core/build/src/buildPlugin.ts @@ -322,7 +322,7 @@ export async function buildPluginClient(cwd: string, userConfig: UserConfig, sou const globals = excludePackages.reduce>((prev, curr) => { if (curr.startsWith('@nocobase')) { - prev[`${curr}/client`] = curr; + prev[`${curr}/client`] = `${curr}/client`; } prev[curr] = curr; return prev;