diff --git a/webui/vite.config.js b/webui/vite.config.js index 482bc24..59026da 100644 --- a/webui/vite.config.js +++ b/webui/vite.config.js @@ -1,6 +1,12 @@ import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; +import * as path from "path"; export default defineConfig({ plugins: [react()], + resolve: { + alias: { + "@": path.resolve(__dirname, "./src"), + }, + } })