This commit is contained in:
15
vitest.config.ts
Normal file
15
vitest.config.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
include: ['packages/**/*.test.ts', 'apps/**/*.test.ts'],
|
||||
environment: 'node',
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'@dng/shared': fileURLToPath(new URL('./packages/shared/src/index.ts', import.meta.url)),
|
||||
'@dng/game-engine': fileURLToPath(new URL('./packages/game-engine/src/index.ts', import.meta.url)),
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user