From 8974bd704466188d46e3985e7e94c0ca993524e4 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 12 Sep 2024 14:26:45 -0300 Subject: write, upd8: factor out universalUtilities --- src/write/build-modes/static-build.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/write/build-modes/static-build.js') 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 = -- cgit 1.3.0-6-gf8a5