diff --git a/packages/astro/src/vite-plugin-astro/index.ts b/packages/astro/src/vite-plugin-astro/index.ts index 91eadf9e3..449333c13 100644 --- a/packages/astro/src/vite-plugin-astro/index.ts +++ b/packages/astro/src/vite-plugin-astro/index.ts @@ -220,9 +220,9 @@ export default function astro({ config, logging }: AstroPluginOptions): vite.Plu vite: { // Setting this vite metadata to `ts` causes Vite to resolve .js // extensions to .ts files. - lang: 'ts' - } - } + lang: 'ts', + }, + }, }; } catch (err: any) { // Verify frontmatter: a common reason that this plugin fails is that diff --git a/packages/astro/src/vite-plugin-markdown/index.ts b/packages/astro/src/vite-plugin-markdown/index.ts index 6f0410bbb..7827ed1d4 100644 --- a/packages/astro/src/vite-plugin-markdown/index.ts +++ b/packages/astro/src/vite-plugin-markdown/index.ts @@ -196,9 +196,9 @@ ${tsResult}`; map: null, meta: { vite: { - lang: 'ts' - } - } + lang: 'ts', + }, + }, }; }