diff options
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 |
commit | 7a3038b982c4d318e146698527070f096591aa4f (patch) | |
tree | 02ef22e2c740dc02f073189718a315afff100fe5 /src/content | |
parent | 2b0a5231170049bc4fd7f44009c9f32b1404d5a5 (diff) |
sugar: move many functions into new #aggregate import
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generatePageLayout.js | 3 | ||||
-rw-r--r-- | src/content/dependencies/index.js | 7 |
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) { |