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

vite.config.ts

13 lines313 Bytes

1import { defineConfig, mergeConfig } from 'vitest/config'
2import { tanstackViteConfig } from '@tanstack/vite-config'
3​
4const config = defineConfig({})
5​
6export default mergeConfig(
7 config,
8 tanstackViteConfig({
9 tsconfigPath: './tsconfig.build.json',
10 entry: './src/index.ts',
11 srcDir: './src',
12 }),