Skip to content

Commit 11cdc0a

Browse files
committed
feat: set maxParallelFileOps to optimize Rollup perf
1 parent 0bddb36 commit 11cdc0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

shared/rollup.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +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,
1618
onwarn(warning, warn) {
1719
if (
1820
warning.code === 'MODULE_LEVEL_DIRECTIVE' ||

0 commit comments

Comments
 (0)