18 lines
384 B
TypeScript
18 lines
384 B
TypeScript
import { resolve } from 'path'
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
esbuild: {
|
|
jsx: 'automatic'
|
|
},
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['__tests__/**/*.test.{ts,tsx}']
|
|
},
|
|
resolve: {
|
|
alias: [
|
|
{ find: /^@d3ro\/core(\/.*)?$/, replacement: `${resolve(__dirname, '../core/src')}$1` }
|
|
]
|
|
}
|
|
})
|