1
0
Fork 0

chore(deps): remove dependency vite-tsconfig-paths

- fix vitest.config.js and tsconfig path translation myself
This commit is contained in:
Vojtěch Mareš 2022-12-19 00:50:49 +01:00
parent 8d70ac96f8
commit 427f4182a5
3 changed files with 6 additions and 32 deletions

View file

@ -2,15 +2,19 @@
import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
import tsconfigPaths from 'vite-tsconfig-paths'
import { resolve } from 'path'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
react(),
tsconfigPaths(),
],
test: {
environment: 'jsdom',
},
resolve: {
alias: {
'@': resolve(__dirname, '.')
}
},
})