build(electron): allow customizing channel type for internal build (#4511)

This commit is contained in:
Peng Xiao
2023-10-17 09:15:19 +08:00
committed by GitHub
parent a0095496d7
commit 5e9eeaddbd
6 changed files with 47 additions and 17 deletions

View File

@@ -46,6 +46,8 @@ if (!process.env.SKIP_WEB_BUILD) {
await $`yarn -T run build:plugins`;
await $`yarn nx build @affine/core`;
await $`yarn workspace @affine/electron build`;
// step 1.5: amend sourceMappingURL to allow debugging in devtools
await glob('**/*.{js,css}', { cwd: affineCoreOutDir }).then(files => {
return files.map(async file => {