Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

vite.config.ts

21 lines510 Bytes

1import adapter from '@sveltejs/adapter-auto'
2import { sveltekit } from '@sveltejs/kit/vite'
3import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
4import { defineConfig } from 'vite'
5​
6export default defineConfig({
7 plugins: [
8 sveltekit({
9 preprocess: vitePreprocess(),
10 adapter: adapter(),
11 typescript: {
12 config: (tsconfig) => {
13 tsconfig.include.push('../eslint.config.js')
14 },
15 },
16 compilerOptions: {
17 runes: true,
18 },
19 }),
20 ],
21})