midou36o.github.io/vite.config.ts

15 lines
412 B
TypeScript
Raw Normal View History

2023-01-19 22:35:09 +05:30
import { sveltekit } from '@sveltejs/kit/vite';
import type { UserConfig } from 'vite';
import UnoCSS from 'unocss/vite';
import presetIcons from '@unocss/preset-icons';
2023-01-23 08:44:11 +05:30
import presetWebFonts from '@unocss/preset-web-fonts'
2023-01-19 22:35:09 +05:30
const config: UserConfig = {
plugins: [sveltekit(), UnoCSS(),
/* Self note: Don't add a config between the (), it just overrides the external config. */
2023-01-19 22:35:09 +05:30
]
};
export default config;