Files
shihaam c6015e27a6
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 33s
rewrite
2026-08-02 19:58:39 +05:00

25 lines
610 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
import path from "node:path";
// https://vite.dev/config/
export default defineConfig({
plugins: [react(), tailwindcss()],
resolve: {
alias: {
"@": path.resolve(import.meta.dirname, "./src"),
},
},
server: {
host: true,
port: 5173,
// Running inside the dev container; allow the mapped host.
allowedHosts: true,
watch: {
// File events don't always propagate through the bind mount; poll instead.
usePolling: true,
},
},
});