mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 12:18:15 +08:00
fix: yarn dev will throw errors if loading released plugins (#5671)
This commit is contained in:
parent
aad163c4e1
commit
64ea1f8fe2
@ -322,7 +322,7 @@ export async function buildPluginClient(cwd: string, userConfig: UserConfig, sou
|
||||
|
||||
const globals = excludePackages.reduce<Record<string, string>>((prev, curr) => {
|
||||
if (curr.startsWith('@nocobase')) {
|
||||
prev[`${curr}/client`] = curr;
|
||||
prev[`${curr}/client`] = `${curr}/client`;
|
||||
}
|
||||
prev[curr] = curr;
|
||||
return prev;
|
||||
|
Loading…
Reference in New Issue
Block a user