forked from FuelLabs/fuels-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.base.config.mts
43 lines (42 loc) · 921 Bytes
/
vite.base.config.mts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import plainText from "vite-plugin-plain-text";
import { defineConfig } from "vitest/config";
export default defineConfig({
plugins: [
plainText("**/*.hbs", {
namedExport: false,
}),
],
test: {
exclude: [
"**/node_modules/**",
"**/dist/**",
"/apps/demo-nextjs",
"/apps/demo-react-cra",
"/apps/demo-react-vite",
],
globals: true,
setupFiles: ["./vite.env.ts"],
coverage: {
enabled: true,
provider: "istanbul",
reporter: ["json", "text", "html"],
include: ["packages", "internal", "apps"],
exclude: [
"**/node_modules/**",
"**/dist/**",
"**/test/**",
"**/*.test.ts",
"**/*.d.ts",
"packages/fuel-gauge/**",
"apps/demo-*",
"apps/docs",
],
},
poolOptions: {
threads: {
minThreads: 1,
maxThreads: 16,
},
},
},
});