diff --git a/packages/astro/src/cli/sync/index.ts b/packages/astro/src/cli/sync/index.ts index 0e63fb02e..251599dcb 100644 --- a/packages/astro/src/cli/sync/index.ts +++ b/packages/astro/src/cli/sync/index.ts @@ -1,11 +1,11 @@ +import { dim } from 'kleur/colors'; import type fsMod from 'node:fs'; import { performance } from 'node:perf_hooks'; -import { dim } from 'kleur/colors'; import type { AstroSettings } from '../../@types/astro'; -import { info, LogOptions } from '../../core/logger/core.js'; import { contentObservable, createContentTypesGenerator } from '../../content/index.js'; import { getTimeStat } from '../../core/build/util.js'; import { AstroError, AstroErrorData } from '../../core/errors/index.js'; +import { info, LogOptions } from '../../core/logger/core.js'; export async function sync( settings: AstroSettings, diff --git a/packages/astro/src/content/index.ts b/packages/astro/src/content/index.ts index ccb36982d..38eb1cf9f 100644 --- a/packages/astro/src/content/index.ts +++ b/packages/astro/src/content/index.ts @@ -1,9 +1,8 @@ -export { getContentPaths } from './utils.js'; +export { createContentTypesGenerator } from './types-generator.js'; +export { contentObservable, getContentPaths } from './utils.js'; export { astroBundleDelayedAssetPlugin, astroDelayedAssetPlugin, } from './vite-plugin-content-assets.js'; export { astroContentServerPlugin } from './vite-plugin-content-server.js'; export { astroContentVirtualModPlugin } from './vite-plugin-content-virtual-mod.js'; -export { contentObservable } from './utils.js'; -export { createContentTypesGenerator } from './types-generator.js';