diff options
author | 2022-06-03 17:01:54 +0000 | |
---|---|---|
committer | 2022-06-03 17:01:54 +0000 | |
commit | 2dbf2234ae3a0575330d62cd7663dd5270d76e3a (patch) | |
tree | 60c4a8f862e4c2ee855e64b19c6b8a6deea78ae9 | |
parent | 25fa0f527d271c1474eeb64fff4ee40c512a52a8 (diff) | |
download | astro-2dbf2234ae3a0575330d62cd7663dd5270d76e3a.tar.gz astro-2dbf2234ae3a0575330d62cd7663dd5270d76e3a.tar.zst astro-2dbf2234ae3a0575330d62cd7663dd5270d76e3a.zip |
[ci] format
-rw-r--r-- | packages/astro/src/vite-plugin-astro/index.ts | 6 | ||||
-rw-r--r-- | packages/astro/src/vite-plugin-markdown/index.ts | 6 |
2 files changed, 6 insertions, 6 deletions
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', + }, + }, }; } |