-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvite.config.ts
20 lines (19 loc) · 1.07 KB
/
vite.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { defineConfig } from 'vitest/config'
import tsconfigPaths from 'vite-tsconfig-paths'
import * as path from "node:path";
export default defineConfig({
plugins: [tsconfigPaths()],
test: {
alias: {
'@serbanghita-gamedev/assets/': path.join(__dirname, 'gamedev/packages/assets/'),
'@serbanghita-gamedev/geometry/': path.join(__dirname, 'gamedev/packages/geometry/'),
'@serbanghita-gamedev/bitmask/': path.join(__dirname, 'gamedev/packages/bitmask/'),
'@serbanghita-gamedev/component/': path.join(__dirname, 'gamedev/packages/component/'),
'@serbanghita-gamedev/ecs/': path.join(__dirname, 'gamedev/packages/ecs/'),
'@serbanghita-gamedev/input/': path.join(__dirname, 'gamedev/packages/input/'),
'@serbanghita-gamedev/renderer/': path.join(__dirname, 'gamedev/packages/renderer/'),
'@serbanghita-gamedev/matrix/': path.join(__dirname, 'gamedev/packages/matrix/'),
'@serbanghita-gamedev/tiled/': path.join(__dirname, 'gamedev/packages/tiled/')
}
}
})