1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
backup-websites-2024-01/vitest.config.ts
Vojtech Mares 427f4182a5 chore(deps): remove dependency vite-tsconfig-paths
- fix vitest.config.js and tsconfig path translation myself
2022-12-19 09:50:40 +01:00

20 lines
359 B
TypeScript

/// <reference types="vitest" />
import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
import { resolve } from 'path'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
react(),
],
test: {
environment: 'jsdom',
},
resolve: {
alias: {
'@': resolve(__dirname, '.')
}
},
})