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

svelte.config.js

20 lines449 Bytes

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