Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored and astrobot-houston committed Jan 19, 2023
1 parent a342a48 commit 4f64901
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/integrations/svelte/src/index.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -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 },
Expand Down

0 comments on commit 4f64901

Please sign in to comment.