Skip to content

Commit e807bdf

Browse files
committed
perf: build faster, no need to nuke node_modules if doing a yarn install --production
1 parent 4c22b66 commit e807bdf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/prepare-release.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ async function prepareRelease() {
2727
await exec('yarn', ['build'])
2828

2929
// Clean up
30-
await fs.remove('node_modules')
3130
await exec('yarn', ['install', '--production', '--frozen-lockfile']) // Do not clean up, electron version detection will fail otherwise
3231
await fs.remove(path.join('app', 'node_modules'))
3332

0 commit comments

Comments
 (0)