14 lines
290 B
TypeScript
14 lines
290 B
TypeScript
import { defineConfig } from "vite";
|
|
|
|
/**
|
|
* Keep Vite, Vitest and TypeScript on the same source-root import contract.
|
|
* Module boundaries may evolve without introducing fragile ../../ imports.
|
|
*/
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
"@": "/src",
|
|
},
|
|
},
|
|
});
|