Skip to content

Commit 9cca0f0

Browse files
committed
fix: reduce maxParallelFileOps to optimize Rollup perf
1 parent c7508fd commit 9cca0f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

shared/rollup.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import { isProd, target } from './constants.mjs';
1313
const extensions = ['.mjs', '.js', '.jsx', '.ts', '.tsx', '.json'];
1414

1515
export default {
16-
// Keep Rollup below the file-descriptor limit on GitHub macOS runners.
17-
maxParallelFileOps: 16,
16+
// Keep Rollup well below the file-descriptor limit on GitHub macOS runners.
17+
maxParallelFileOps: 8,
1818
onwarn(warning, warn) {
1919
if (
2020
warning.code === 'MODULE_LEVEL_DIRECTIVE' ||

0 commit comments

Comments
 (0)