diff --git a/packages/astro/src/vite-plugin-astro/index.ts b/packages/astro/src/vite-plugin-astro/index.ts index 99f8763c57..62f6a1627b 100644 --- a/packages/astro/src/vite-plugin-astro/index.ts +++ b/packages/astro/src/vite-plugin-astro/index.ts @@ -7,10 +7,10 @@ import type { PluginMetadata as AstroPluginMetadata } from './types'; import { normalizePath } from 'vite'; import { cachedCompilation, CompileProps, getCachedCompileResult } from '../core/compile/index.js'; import { isRelativePath } from '../core/path.js'; +import { normalizeFilename } from '../vite-plugin-utils/index.js'; import { cachedFullCompilation } from './compile.js'; import { handleHotUpdate } from './hmr.js'; import { parseAstroRequest } from './query.js'; -import { normalizeFilename } from '../vite-plugin-utils/index.js'; export { getAstroMetadata } from './metadata.js'; export type { AstroPluginMetadata }; diff --git a/packages/astro/src/vite-plugin-utils/index.ts b/packages/astro/src/vite-plugin-utils/index.ts index 466663f37b..fb10de1ee9 100644 --- a/packages/astro/src/vite-plugin-utils/index.ts +++ b/packages/astro/src/vite-plugin-utils/index.ts @@ -1,5 +1,5 @@ -import { fileURLToPath } from 'url'; import ancestor from 'common-ancestor-path'; +import { fileURLToPath } from 'url'; import type { AstroConfig } from '../@types/astro'; import { appendExtension,