[ci] yarn format

This commit is contained in:
natemoo-re 2021-11-17 20:11:24 +00:00 committed by GitHub Actions
parent dbc49ed62c
commit 1408e2017a
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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',