mirror of
https://github.com/tuono-labs/tuono
synced 2026-07-29 22:02:46 -07:00
6c7cc62371
* chore(deps): update dependency @tanstack/config to ^0.13.0 * fix: tanstack/config vite import --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Valerio Ageno <valerioageno@yahoo.it>
24 lines
508 B
TypeScript
24 lines
508 B
TypeScript
/// <reference types="vitest" />
|
|
/// <reference types="vite/client" />
|
|
import { defineConfig, mergeConfig } from 'vitest/config'
|
|
import { tanstackViteConfig } from '@tanstack/config/vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
const config = defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
name: 'react-router',
|
|
watch: true,
|
|
environment: 'jsdom',
|
|
globals: true,
|
|
},
|
|
})
|
|
|
|
export default mergeConfig(
|
|
config,
|
|
tanstackViteConfig({
|
|
entry: './src/index.ts',
|
|
srcDir: './src',
|
|
}),
|
|
)
|