♻️ refactor: fix production build
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
components: '/src/components',
|
||||
style: '/src/style',
|
||||
},
|
||||
},
|
||||
test: {
|
||||
watch: false,
|
||||
globals: true,
|
||||
environment: 'jsdom',
|
||||
setupFiles: ['./src/setupTests.ts'],
|
||||
coverage: {
|
||||
provider: 'istanbul',
|
||||
include: ['src'],
|
||||
exclude: ['./**/*.d.ts', './src/*.ts', './**/mocks/*.*', './**/{m,M}ock*.*', './**/*.test.tsx', './**/*.stories.*'],
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user