From c6c5f0dd023daf8c09be891fbde831019eda9e70 Mon Sep 17 00:00:00 2001 From: Princesseuh Date: Wed, 5 Apr 2023 13:42:42 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/content/utils.ts | 2 +- packages/astro/src/content/vite-plugin-content-imports.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/content/utils.ts b/packages/astro/src/content/utils.ts index d6e92cd68..5d8a38908 100644 --- a/packages/astro/src/content/utils.ts +++ b/packages/astro/src/content/utils.ts @@ -4,7 +4,7 @@ import fsMod from 'node:fs'; import path from 'node:path'; import { fileURLToPath, pathToFileURL } from 'node:url'; import type { PluginContext } from 'rollup'; -import { normalizePath, type ViteDevServer, type ErrorPayload as ViteErrorPayload } from 'vite'; +import { normalizePath, type ErrorPayload as ViteErrorPayload, type ViteDevServer } from 'vite'; import { z } from 'zod'; import type { AstroConfig, AstroSettings } from '../@types/astro.js'; import { AstroError, AstroErrorData } from '../core/errors/index.js'; diff --git a/packages/astro/src/content/vite-plugin-content-imports.ts b/packages/astro/src/content/vite-plugin-content-imports.ts index cd944731f..6f525e7cb 100644 --- a/packages/astro/src/content/vite-plugin-content-imports.ts +++ b/packages/astro/src/content/vite-plugin-content-imports.ts @@ -10,7 +10,6 @@ import { AstroError } from '../core/errors/errors.js'; import { escapeViteEnvReferences, getFileInfo } from '../vite-plugin-utils/index.js'; import { CONTENT_FLAG } from './consts.js'; import { - NoCollectionError, getContentEntryExts, getContentPaths, getEntryData, @@ -18,6 +17,7 @@ import { getEntrySlug, getEntryType, globalContentConfigObserver, + NoCollectionError, type ContentConfig, } from './utils.js';