« get me outta code hell

sugar: move many functions into new #aggregate import - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-02-16 09:39:14 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-02-16 10:28:02 -0400
commit7a3038b982c4d318e146698527070f096591aa4f (patch)
tree02ef22e2c740dc02f073189718a315afff100fe5 /src/content
parent2b0a5231170049bc4fd7f44009c9f32b1404d5a5 (diff)
sugar: move many functions into new #aggregate import
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generatePageLayout.js3
-rw-r--r--src/content/dependencies/index.js7
2 files changed, 4 insertions, 6 deletions
diff --git a/src/content/dependencies/generatePageLayout.js b/src/content/dependencies/generatePageLayout.js
index 0d2ce557..76d07c40 100644
--- a/src/content/dependencies/generatePageLayout.js
+++ b/src/content/dependencies/generatePageLayout.js
@@ -1,4 +1,5 @@
-import {empty, openAggregate} from '#sugar';
+import {openAggregate} from '#aggregate';
+import {empty} from '#sugar';
 
 function sidebarSlots(side) {
   return {
diff --git a/src/content/dependencies/index.js b/src/content/dependencies/index.js
index 28755f7b..a5009804 100644
--- a/src/content/dependencies/index.js
+++ b/src/content/dependencies/index.js
@@ -6,13 +6,10 @@ import {fileURLToPath} from 'node:url';
 import chokidar from 'chokidar';
 import {ESLint} from 'eslint';
 
+import {showAggregate as _showAggregate} from '#aggregate';
 import {colors, logWarn} from '#cli';
 import contentFunction, {ContentFunctionSpecError} from '#content-function';
-
-import {
-  annotateFunction,
-  showAggregate as _showAggregate
-} from '#sugar';
+import {annotateFunction} from '#sugar';
 
 function cachebust(filePath) {
   if (filePath in cachebust.cache) {