feat: initialize TypeScript configuration and Vitest setup
- Add pnpm workspace configuration to specify built dependencies. - Create tsconfig.json for TypeScript compiler options and module resolution. - Add tsconfig.build.json for build-specific TypeScript settings. - Set up Vitest configuration with path aliasing for testing.
This commit is contained in:
13
vitest.config.ts
Normal file
13
vitest.config.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import path from 'node:path'
|
||||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, './src'),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
environment: 'node',
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user