Add initial project files

This commit is contained in:
Igor Martyniuk
2026-09-01 13:03:41 +03:00
parent 22e111bb44
commit 74cb5b6176
1841 changed files with 242819 additions and 30 deletions
+24
View File
@@ -0,0 +1,24 @@
import { fileURLToPath } from 'node:url';
import { defineConfig } from 'vitest/config';
export default defineConfig({
resolve: {
alias: [
{
find: /^#(.*)$/,
replacement: fileURLToPath(new URL('./$1', import.meta.url))
},
{
find: 'server-only',
replacement: fileURLToPath(new URL('./tests/stubs/server-only.ts', import.meta.url))
}
]
},
esbuild: {
jsx: 'automatic'
},
test: {
environment: 'node',
include: ['tests/**/*.test.ts']
}
});