0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00

[ci] format

This commit is contained in:
matthewp 2023-01-19 13:15:53 +00:00 committed by fredkbot
parent a342a486c2
commit 4f649014e9

View file

@ -1,8 +1,8 @@
import type { Options } from '@sveltejs/vite-plugin-svelte';
import { svelte, vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import type { AstroIntegration, AstroRenderer } from 'astro';
import type { UserConfig } from 'vite';
import { fileURLToPath } from 'url';
import type { UserConfig } from 'vite';
function getRenderer(): AstroRenderer {
return {
@ -29,7 +29,11 @@ type ViteConfigurationArgs = {
root: URL;
};
async function getViteConfiguration({ options, isDev, root }: ViteConfigurationArgs): Promise<UserConfig> {
async function getViteConfiguration({
options,
isDev,
root,
}: ViteConfigurationArgs): Promise<UserConfig> {
const defaultOptions: Partial<Options> = {
emitCss: true,
compilerOptions: { dev: isDev, hydratable: true },