summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar natemoo-re <natemoo-re@users.noreply.github.com> 2021-11-17 20:11:24 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-11-17 20:11:24 +0000
commit1408e2017a459aeff56ff8c05f2637eb23716b5c (patch)
tree746281f3fdffe94c231da3a45a74748d6d205210
parentdbc49ed62ccc34c4c9ce5ab76251de2362011674 (diff)
downloadastro-1408e2017a459aeff56ff8c05f2637eb23716b5c.tar.gz
astro-1408e2017a459aeff56ff8c05f2637eb23716b5c.tar.zst
astro-1408e2017a459aeff56ff8c05f2637eb23716b5c.zip
[ci] yarn format
-rw-r--r--packages/astro/src/core/create-vite.ts2
-rw-r--r--packages/astro/src/core/ssr/index.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/src/core/create-vite.ts b/packages/astro/src/core/create-vite.ts
index 8aedb08b9..c250e8ca5 100644
--- a/packages/astro/src/core/create-vite.ts
+++ b/packages/astro/src/core/create-vite.ts
@@ -22,7 +22,7 @@ const ALWAYS_EXTERNAL = new Set([
'shiki',
'shorthash',
'unified',
- 'whatwg-url'
+ 'whatwg-url',
]);
const ALWAYS_NOEXTERNAL = new Set([
'astro', // This is only because Vite's native ESM doesn't resolve "exports" correctly.
diff --git a/packages/astro/src/core/ssr/index.ts b/packages/astro/src/core/ssr/index.ts
index a8ff5910b..4bab94019 100644
--- a/packages/astro/src/core/ssr/index.ts
+++ b/packages/astro/src/core/ssr/index.ts
@@ -225,7 +225,7 @@ export async function render(renderers: Renderer[], mod: ComponentInstance, ssrO
tags.push({
tag: 'script',
attrs: { type: 'module' },
- // HACK: inject the direct contents of our `astro/runtime/client/hmr.js` to ensure
+ // HACK: inject the direct contents of our `astro/runtime/client/hmr.js` to ensure
// `import.meta.hot` is properly handled by Vite
children: await getHmrScript(),
injectTo: 'head',