You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
385 B

import { defineConfig } from "vitest/config";
import { fileURLToPath, URL } from "url";
import { sharedPlugins } from "./vite.config";
export default defineConfig({
plugins: [sharedPlugins],
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
test: {
dir: "./src",
transformMode: {
web: [/\.[jt]sx$/],
},
},
});