mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] format
This commit is contained in:
parent
39bc3a5e81
commit
8036b9a3fc
3 changed files with 4 additions and 4 deletions
|
@ -14,9 +14,9 @@ import type {
|
|||
} from '../@types/astro.js';
|
||||
import { AstroError, AstroErrorData, MarkdownError, errorMap } from '../core/errors/index.js';
|
||||
import { isYAMLException } from '../core/errors/utils.js';
|
||||
import type { Logger } from '../core/logger/core.js';
|
||||
import { CONTENT_FLAGS, PROPAGATED_ASSET_FLAG } from './consts.js';
|
||||
import { createImage } from './runtime-assets.js';
|
||||
import type { Logger } from "../core/logger/core.js";
|
||||
/**
|
||||
* Amap from a collection + slug to the local file path.
|
||||
* This is used internally to resolve entry imports when using `getEntry()`.
|
||||
|
@ -170,7 +170,7 @@ export function getEntryConfigByExtMap<TEntryType extends ContentEntryType | Dat
|
|||
export async function getSymlinkedContentCollections({
|
||||
contentDir,
|
||||
logger,
|
||||
fs
|
||||
fs,
|
||||
}: {
|
||||
contentDir: URL;
|
||||
logger: Logger;
|
||||
|
|
|
@ -15,6 +15,7 @@ import type {
|
|||
import { getProxyCode } from '../assets/utils/proxy.js';
|
||||
import { AstroError } from '../core/errors/errors.js';
|
||||
import { AstroErrorData } from '../core/errors/index.js';
|
||||
import type { Logger } from '../core/logger/core.js';
|
||||
import { isServerLikeOutput } from '../core/util.js';
|
||||
import { CONTENT_FLAG, DATA_FLAG } from './consts.js';
|
||||
import {
|
||||
|
@ -35,7 +36,6 @@ import {
|
|||
reloadContentConfigObserver,
|
||||
reverseSymlink,
|
||||
} from './utils.js';
|
||||
import type { Logger } from '../core/logger/core.js';
|
||||
|
||||
function getContentRendererByViteId(
|
||||
viteId: string,
|
||||
|
|
|
@ -25,6 +25,7 @@ import { runHookBuildSetup } from '../../integrations/hooks.js';
|
|||
import { getOutputDirectory } from '../../prerender/utils.js';
|
||||
import { PAGE_SCRIPT_ID } from '../../vite-plugin-scripts/index.js';
|
||||
import { AstroError, AstroErrorData } from '../errors/index.js';
|
||||
import type { Logger } from '../logger/core.js';
|
||||
import { routeIsRedirect } from '../redirects/index.js';
|
||||
import { getOutDirWithinCwd } from './common.js';
|
||||
import { CHUNKS_PATH } from './consts.js';
|
||||
|
@ -40,7 +41,6 @@ import { RESOLVED_SPLIT_MODULE_ID, RESOLVED_SSR_VIRTUAL_MODULE_ID } from './plug
|
|||
import { ASTRO_PAGE_EXTENSION_POST_PATTERN } from './plugins/util.js';
|
||||
import type { StaticBuildOptions } from './types.js';
|
||||
import { encodeName, getTimeStat, viteBuildReturnToRollupOutputs } from './util.js';
|
||||
import type { Logger } from '../logger/core.js';
|
||||
|
||||
export async function viteBuild(opts: StaticBuildOptions) {
|
||||
const { allPages, settings, logger } = opts;
|
||||
|
|
Loading…
Reference in a new issue