starbase-81/vite.config.ts

16 lines
362 B
TypeScript
Raw Normal View History

2023-04-20 05:40:12 +00:00
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
2023-04-19 21:40:25 +00:00
// https://vitejs.dev/config/
export default defineConfig({
2023-04-20 05:40:12 +00:00
plugins: [react()],
server: {
watch: {
usePolling: true,
},
host: true, // needed for the Docker Container port mapping to work
strictPort: true,
port: 80, // you can replace this port with any port
},
});