refactor: refactor foundation
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { fileURLToPath, URL } from "node:url";
|
||||
import babel from "@rolldown/plugin-babel";
|
||||
import react, { reactCompilerPreset } from "@vitejs/plugin-react";
|
||||
import { defineConfig } from "vite";
|
||||
@@ -5,4 +6,5 @@ import { defineConfig } from "vite";
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react(), babel({ presets: [reactCompilerPreset()] })],
|
||||
resolve: { alias: { "@": fileURLToPath(new URL("./src", import.meta.url)) } },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user