diff --git a/packages/astro/src/vite-plugin-astro/index.ts b/packages/astro/src/vite-plugin-astro/index.ts index cca58834e..1318d7458 100644 --- a/packages/astro/src/vite-plugin-astro/index.ts +++ b/packages/astro/src/vite-plugin-astro/index.ts @@ -182,7 +182,7 @@ export default function astro({ config, logging }: AstroPluginOptions): vite.Plu vite: { lang: 'ts', }, - } + }, }; } } diff --git a/packages/astro/src/vite-plugin-astro/query.ts b/packages/astro/src/vite-plugin-astro/query.ts index e6eff13d7..bc4908bbe 100644 --- a/packages/astro/src/vite-plugin-astro/query.ts +++ b/packages/astro/src/vite-plugin-astro/query.ts @@ -10,7 +10,7 @@ export interface AstroQuery { export interface ParsedRequestResult { filename: string; query: AstroQuery; -}; +} // Parses an id to check if its an Astro request. // CSS is imported like `import '/src/pages/index.astro?astro&type=style&index=0&lang.css';