From 7a3038b982c4d318e146698527070f096591aa4f Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 16 Feb 2024 09:39:14 -0400 Subject: sugar: move many functions into new #aggregate import --- src/content/dependencies/generatePageLayout.js | 3 ++- src/content/dependencies/index.js | 7 ++----- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'src/content') 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) { -- cgit 1.3.0-6-gf8a5