[ci] yarn format
This commit is contained in:
parent
dbc49ed62c
commit
1408e2017a
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ const ALWAYS_EXTERNAL = new Set([
|
||||||
'shiki',
|
'shiki',
|
||||||
'shorthash',
|
'shorthash',
|
||||||
'unified',
|
'unified',
|
||||||
'whatwg-url'
|
'whatwg-url',
|
||||||
]);
|
]);
|
||||||
const ALWAYS_NOEXTERNAL = new Set([
|
const ALWAYS_NOEXTERNAL = new Set([
|
||||||
'astro', // This is only because Vite's native ESM doesn't resolve "exports" correctly.
|
'astro', // This is only because Vite's native ESM doesn't resolve "exports" correctly.
|
||||||
|
|
|
@ -225,7 +225,7 @@ export async function render(renderers: Renderer[], mod: ComponentInstance, ssrO
|
||||||
tags.push({
|
tags.push({
|
||||||
tag: 'script',
|
tag: 'script',
|
||||||
attrs: { type: 'module' },
|
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
|
// `import.meta.hot` is properly handled by Vite
|
||||||
children: await getHmrScript(),
|
children: await getHmrScript(),
|
||||||
injectTo: 'head',
|
injectTo: 'head',
|
||||||
|
|
Loading…
Reference in a new issue