hdoc-tools 0.9.35 → 0.9.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hdoc-build.js +2 -2
- package/package.json +1 -1
package/hdoc-build.js
CHANGED
@@ -737,7 +737,7 @@
|
|
737
737
|
for (let i = 0; i < md_files.length; i++) {
|
738
738
|
mdPromiseArray.push(md_files[i]);
|
739
739
|
}
|
740
|
-
const chunkSize =
|
740
|
+
const chunkSize = 8;
|
741
741
|
for (let i = 0; i < mdPromiseArray.length; i += chunkSize) {
|
742
742
|
const chunk = mdPromiseArray.slice(i, i + chunkSize);
|
743
743
|
// do whatever
|
@@ -753,7 +753,7 @@
|
|
753
753
|
for (let i = 0; i < static_html_files.length; i++) {
|
754
754
|
htmlPromiseArray.push(static_html_files[i]);
|
755
755
|
}
|
756
|
-
for (let i = 0; i <
|
756
|
+
for (let i = 0; i < htmlPromiseArray.length; i += chunkSize) {
|
757
757
|
const chunk = htmlPromiseArray.slice(i, i + chunkSize);
|
758
758
|
await Promise.all(chunk.map(async (file) => {
|
759
759
|
await transform_static_html(file);
|