diff options
-rw-r--r-- | src/write/build-modes/repl.js | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/src/write/build-modes/repl.js b/src/write/build-modes/repl.js index faba8a34..957d2c2d 100644 --- a/src/write/build-modes/repl.js +++ b/src/write/build-modes/repl.js @@ -50,17 +50,12 @@ export async function getContextAssignments({ mediaPath, mediaCachePath, + universalUtilities, + defaultLanguage, - languages, - missingImagePaths, - thumbsCache, - urls, - webRoutes, wikiData, - getSizeOfAdditionalFile, - getSizeOfImagePath, - niceShowAggregate, + niceShowAggregate: showAggregate, }) { let find; try { @@ -72,19 +67,15 @@ export async function getContextAssignments({ } const replContext = { + universalUtilities, + ...universalUtilities, + dataPath, mediaPath, mediaCachePath, - languages, - defaultLanguage, language: defaultLanguage, - missingImagePaths, - thumbsCache, - urls, - webRoutes, - wikiData, ...wikiData, WD: wikiData, @@ -104,9 +95,7 @@ export async function getContextAssignments({ find, bindFind, - getSizeOfAdditionalFile, - getSizeOfImagePath, - showAggregate: niceShowAggregate, + showAggregate, }; replContext.replContext = replContext; |