File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
docs/configuration-options Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -633,19 +633,11 @@ buildWithCache()
633
633
634
634
### maxParallelFileOps {#maxparallelfileops}
635
635
636
- <<<<<<< HEAD
637
636
| | |
638
637
| -----: | :------------------------------ |
639
638
| 类型: | ` number ` |
640
639
| CLI: | ` --maxParallelFileOps <number> ` |
641
- | 默认: | ` Infinity ` |
642
- =======
643
- | | |
644
- | -------: | :------------------------------ |
645
- | Type: | ` number ` |
646
- | CLI: | ` --maxParallelFileOps <number> ` |
647
- | Default: | 1000 |
648
- >>>>>>> 5a7f9e215a11de165b85dafd64350474847ec6db
640
+ | 默认: | 1000 |
649
641
650
642
该选项限制 rollup 在读取模块或写入 chunk 时,同时能打开的文件数量。如果没有限制或者数值足够高,构建可能会失败,显示“EMFILE: Too many open files”(EMFILE:打开的文件数过多)。这取决于操作系统限制的句柄数(open file handles)大小。如果将限制设置得过低,并且使用了依赖 [ ` this.load ` ] ( ../plugin-development/index.md#this-load ) 上下文函数的插件(例如 ` commonjs ` 插件),那么可能会出现构建停滞且没有错误消息的情况,因为它限制了并行 ` load ` 调用的数量。
651
643
You can’t perform that action at this time.
0 commit comments