diff --git a/packages/astro/src/vite-plugin-scanner/index.ts b/packages/astro/src/vite-plugin-scanner/index.ts index 643b445fa3b4..106a2f08d4b5 100644 --- a/packages/astro/src/vite-plugin-scanner/index.ts +++ b/packages/astro/src/vite-plugin-scanner/index.ts @@ -3,12 +3,12 @@ import type { AstroSettings } from '../@types/astro.js'; import { type LogOptions } from '../core/logger/core.js'; import { bold } from 'kleur/colors'; +import { extname } from 'node:path'; import { normalizePath } from 'vite'; import { warn } from '../core/logger/core.js'; import { isEndpoint, isPage, rootRelativePath } from '../core/util.js'; import { getPrerenderDefault, isServerLikeOutput } from '../prerender/utils.js'; import { scan } from './scan.js'; -import { extname } from 'node:path'; export interface AstroPluginScannerOptions { settings: AstroSettings;