generic-chatbot-admin / vite.config.ts
muryshev's picture
init
79278ec
raw
history blame contribute delete
394 Bytes
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import * as path from "path";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
watch: {
usePolling: true,
},
host: true,
strictPort: true,
port: 8081,
},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
});