fix: plugin not found (#3415)

This commit is contained in:
Alex Yang
2023-07-27 05:56:59 -07:00
committed by GitHub
parent 39054a7c3d
commit 2980c1afac
5 changed files with 5 additions and 8 deletions

View File

@@ -41,6 +41,7 @@ cd(repoRootDir);
// step 1: build web (nextjs) dist
if (!process.env.SKIP_WEB_BUILD) {
await $`yarn -T run build:plugins`;
await $`DISTRIBUTION=desktop yarn nx build @affine/core`;
await fs.move(affineCoreOutDir, publicAffineOutDir, { overwrite: true });
}