diff --git a/packages/astro/src/core/config/merge.ts b/packages/astro/src/core/config/merge.ts index 21ce9a9d60..3699d968b2 100644 --- a/packages/astro/src/core/config/merge.ts +++ b/packages/astro/src/core/config/merge.ts @@ -1,7 +1,7 @@ import { mergeConfig as mergeViteConfig } from 'vite'; -import { arraify, isObject, isURL } from '../util.js'; import type { DeepPartial } from '../../type-utils.js'; import type { AstroConfig, AstroInlineConfig } from '../../types/public/index.js'; +import { arraify, isObject, isURL } from '../util.js'; function mergeConfigRecursively( defaults: Record, diff --git a/packages/astro/src/core/index.ts b/packages/astro/src/core/index.ts index d51a3099f6..91cec209d6 100644 --- a/packages/astro/src/core/index.ts +++ b/packages/astro/src/core/index.ts @@ -1,7 +1,6 @@ // This is the main entrypoint when importing the `astro` package. import type { AstroInlineConfig } from '../types/public/config.js'; -import { default as _build } from './build/index.js'; import { default as _sync } from './sync/index.js'; export { default as build } from './build/index.js'; diff --git a/packages/astro/src/integrations/hooks.ts b/packages/astro/src/integrations/hooks.ts index 6eecb0ac1e..63c34ab1d6 100644 --- a/packages/astro/src/integrations/hooks.ts +++ b/packages/astro/src/integrations/hooks.ts @@ -236,7 +236,8 @@ export async function runHookConfigSetup({ } logger.debug( 'middleware', - `The integration ${integration.name} has added middleware that runs ${order === 'pre' ? 'before' : 'after' + `The integration ${integration.name} has added middleware that runs ${ + order === 'pre' ? 'before' : 'after' } any application middleware you define.`, ); updatedSettings.middlewares[order].push( @@ -654,7 +655,7 @@ export async function runHookRouteSetup({ logger.debug( 'router', `The ${route.component} route's prerender option has been changed multiple times by integrations:\n` + - prerenderChangeLogs.map((log) => `- ${log.integrationName}: ${log.value}`).join('\n'), + prerenderChangeLogs.map((log) => `- ${log.integrationName}: ${log.value}`).join('\n'), ); } }