chore(lint): Prettier fix

This commit is contained in:
GitHub Action 2021-12-07 16:56:51 +00:00 committed by Nate Moore
parent 72b136498b
commit 8d3c7b6286
2 changed files with 3 additions and 3 deletions

View file

@ -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: {

View file

@ -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'];