[ci] format

This commit is contained in:
matthewp 2022-10-07 14:31:41 +00:00 committed by fredkbot
parent ffbe4e71e3
commit 67dc9b15b9
2 changed files with 3 additions and 6 deletions

View file

@ -1,4 +1 @@
export {
defineConfig,
getViteConfig
} from './dist/config/index.js';
export { defineConfig, getViteConfig } from './dist/config/index.js';

View file

@ -1,5 +1,5 @@
import type { AstroUserConfig } from '../@types/astro';
import type { UserConfig } from 'vite';
import type { AstroUserConfig } from '../@types/astro';
import type { LogOptions } from '../core/logger/core';
export function defineConfig(config: AstroUserConfig) {
@ -34,7 +34,7 @@ export function getViteConfig(inlineConfig: UserConfig) {
cmd,
logging,
});
const initialTsConfig = loadTSConfig(inlineConfig.root)
const initialTsConfig = loadTSConfig(inlineConfig.root);
const settings = createSettings({
config,
tsConfig: initialTsConfig?.config,