mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +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) => {
|
const globals = excludePackages.reduce<Record<string, string>>((prev, curr) => {
|
||||||
if (curr.startsWith('@nocobase')) {
|
if (curr.startsWith('@nocobase')) {
|
||||||
prev[`${curr}/client`] = curr;
|
prev[`${curr}/client`] = `${curr}/client`;
|
||||||
}
|
}
|
||||||
prev[curr] = curr;
|
prev[curr] = curr;
|
||||||
return prev;
|
return prev;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user