mirror of
https://github.com/Effect-TS/effect.git
synced 2026-11-16 04:23:36 +08:00
24 lines
438 B
TypeScript
24 lines
438 B
TypeScript
import * as path from "node:path"
|
|
import type { ViteUserConfig } from "vitest/config"
|
|
|
|
const config: ViteUserConfig = {
|
|
esbuild: {
|
|
target: "es2020"
|
|
},
|
|
optimizeDeps: {
|
|
exclude: ["bun:sqlite"]
|
|
},
|
|
test: {
|
|
setupFiles: [path.join(__dirname, "vitest.setup.ts")],
|
|
fakeTimers: {
|
|
toFake: undefined
|
|
},
|
|
sequence: {
|
|
concurrent: true
|
|
},
|
|
include: ["test/**/*.test.ts"]
|
|
}
|
|
}
|
|
|
|
export default config
|