diff options
author | 2023-04-05 13:42:42 +0000 | |
---|---|---|
committer | 2023-04-05 13:42:42 +0000 | |
commit | c6c5f0dd023daf8c09be891fbde831019eda9e70 (patch) | |
tree | 99e3a511929057784881d7642d301982549a9144 | |
parent | a1108e037115cdb67d03505286c7d3a4fc2a1ff5 (diff) | |
download | astro-c6c5f0dd023daf8c09be891fbde831019eda9e70.tar.gz astro-c6c5f0dd023daf8c09be891fbde831019eda9e70.tar.zst astro-c6c5f0dd023daf8c09be891fbde831019eda9e70.zip |
[ci] format
-rw-r--r-- | packages/astro/src/content/utils.ts | 2 | ||||
-rw-r--r-- | 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'; |