mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 11:06:25 +08:00
Regular → Executable
+2
-2
@@ -46,8 +46,8 @@ cd(repoRootDir);
|
|||||||
// step 2: build web (nextjs) dist
|
// step 2: build web (nextjs) dist
|
||||||
if (!process.env.SKIP_WEB_BUILD) {
|
if (!process.env.SKIP_WEB_BUILD) {
|
||||||
process.env.ENABLE_LEGACY_PROVIDER = 'false';
|
process.env.ENABLE_LEGACY_PROVIDER = 'false';
|
||||||
await $`yarn build`;
|
await $`yarn nx build @affine/web`;
|
||||||
await $`yarn export`;
|
await $`yarn nx export @affine/web`;
|
||||||
|
|
||||||
// step 1.5: amend sourceMappingURL to allow debugging in devtools
|
// step 1.5: amend sourceMappingURL to allow debugging in devtools
|
||||||
await glob('**/*.{js,css}', { cwd: affineWebOutDir }).then(files => {
|
await glob('**/*.{js,css}', { cwd: affineWebOutDir }).then(files => {
|
||||||
|
|||||||
Reference in New Issue
Block a user