diff options
author | 2025-02-26 11:41:56 +0000 | |
---|---|---|
committer | 2025-02-26 11:41:56 +0000 | |
commit | 2154adaeada26aea7b03f1f10d212a4624cfc3b9 (patch) | |
tree | adf115c9ed25a3a07f547168cd6066c491a298e6 | |
parent | 5be12b2bc9f359d3ecfa29b766f13ed2aabd119f (diff) | |
download | astro-2154adaeada26aea7b03f1f10d212a4624cfc3b9.tar.gz astro-2154adaeada26aea7b03f1f10d212a4624cfc3b9.tar.zst astro-2154adaeada26aea7b03f1f10d212a4624cfc3b9.zip |
[ci] format
-rw-r--r-- | packages/astro/src/core/config/merge.ts | 2 | ||||
-rw-r--r-- | packages/astro/src/core/index.ts | 1 | ||||
-rw-r--r-- | packages/astro/src/integrations/hooks.ts | 5 |
3 files changed, 4 insertions, 4 deletions
diff --git a/packages/astro/src/core/config/merge.ts b/packages/astro/src/core/config/merge.ts index 21ce9a9d6..3699d968b 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<string, any>, diff --git a/packages/astro/src/core/index.ts b/packages/astro/src/core/index.ts index d51a3099f..91cec209d 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 6eecb0ac1..63c34ab1d 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'), ); } } |