mirror of https://github.com/halo-dev/halo
				
				
				
			
		
			
				
	
	
		
			20 lines
		
	
	
		
			385 B
		
	
	
	
		
			TypeScript
		
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			385 B
		
	
	
	
		
			TypeScript
		
	
	
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$/],
 | 
						|
    },
 | 
						|
  },
 | 
						|
});
 |