diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-09-12 14:26:45 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-09-12 14:26:45 -0300 |
commit | 8974bd704466188d46e3985e7e94c0ca993524e4 (patch) | |
tree | e44a22cf2b20d0dc85e94481f53c39c018e3e5f6 /src/write/build-modes/static-build.js | |
parent | b485117d885f723fb81a8e573050747393c004cf (diff) |
write, upd8: factor out universalUtilities
Diffstat (limited to 'src/write/build-modes/static-build.js')
-rw-r--r-- | src/write/build-modes/static-build.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/write/build-modes/static-build.js b/src/write/build-modes/static-build.js index d743a64b..3f829ada 100644 --- a/src/write/build-modes/static-build.js +++ b/src/write/build-modes/static-build.js @@ -288,16 +288,7 @@ export async function go({ showAggregate: niceShowAggregate, }); - const commonUtilities = { - defaultLanguage, - getSizeOfAdditionalFile, - getSizeOfImagePath, - languages, - missingImagePaths, - thumbsCache, - urls, - wikiData, - }; + const commonUtilities = {...universalUtilities}; const perLanguageFn = async (language, i, entries) => { const baseDirectory = |