diff --git a/vite.config.ts b/vite.config.ts index e4201bf..1714a71 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,4 +1,3 @@ -import path from "node:path"; import babel from "@rolldown/plugin-babel"; import { defineConfig } from "vite"; import react, { reactCompilerPreset } from "@vitejs/plugin-react"; @@ -73,9 +72,7 @@ export default defineConfig({ }), ], resolve: { - alias: { - "@": path.resolve(__dirname, "src"), - }, + tsconfigPaths: true, }, build: { outDir: "build",