chore(lint): Prettier fix
This commit is contained in:
parent
72b136498b
commit
8d3c7b6286
2 changed files with 3 additions and 3 deletions
|
@ -67,8 +67,8 @@ export async function createVite(inlineConfig: ViteConfigWithSSR, { astroConfig,
|
||||||
},
|
},
|
||||||
fs: {
|
fs: {
|
||||||
// Allow serving files from one level up to the project root
|
// Allow serving files from one level up to the project root
|
||||||
allow: ['..']
|
allow: ['..'],
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
// Note: SSR API is in beta (https://vitejs.dev/guide/ssr.html)
|
// Note: SSR API is in beta (https://vitejs.dev/guide/ssr.html)
|
||||||
ssr: {
|
ssr: {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import serialize from 'serialize-javascript';
|
||||||
|
|
||||||
// Serializes props passed into a component so that they can be reused during hydration.
|
// Serializes props passed into a component so that they can be reused during hydration.
|
||||||
export function serializeProps(value: any) {
|
export function serializeProps(value: any) {
|
||||||
return serialize(value)
|
return serialize(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
const HydrationDirectives = ['load', 'idle', 'media', 'visible', 'only'];
|
const HydrationDirectives = ['load', 'idle', 'media', 'visible', 'only'];
|
||||||
|
|
Loading…
Reference in a new issue