include vite.config

This commit is contained in:
Moriz Wahl 2025-02-03 21:20:16 +01:00
parent 1a2b2275e5
commit 0cb4fd19a9
2 changed files with 4 additions and 5 deletions

View File

@ -24,10 +24,10 @@
"#root/*": ["./*"]
}
},
"include": ["src"],
"include": ["src", "vite.config.ts"],
"exclude": ["node_modules", "dist", "example", "rollup.config.mjss"],
"typeRoots": [
"./types",
"./node_modules/@types/"
]
}
}

View File

@ -1,11 +1,10 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
export default defineConfig({
plugins: [react()],
test: {
globals: true,
environment: 'happy-dom'
environment: 'happy-dom',
},
})