mirror of
https://github.com/withastro/astro.git
synced 2025-03-10 23:01:26 -05:00
[ci] format
This commit is contained in:
parent
5be12b2bc9
commit
2154adaead
3 changed files with 4 additions and 4 deletions
|
@ -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>,
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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'),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue