import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; import path from "path"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], resolve: { alias: { "@store": path.resolve(__dirname, "src/store"), "@editor": path.resolve(__dirname, "src/editor"), "@map": path.resolve(__dirname, "src/map"), "@app": path.resolve(__dirname, "src/app"), "@types": path.resolve(__dirname, "src/types"), "@utils": path.resolve(__dirname, "src/utils"), }, }, server: { port: 8080, }, });