Spaces:
Runtime error
Runtime error
File size: 548 Bytes
a5e87d0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// import express from "express";
// import apiRouter from "./server.js";
// // Define your Express routes here
// const app = express();
// app.use("/", apiRouter);
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
watch: {
usePolling: true,
},
host: true, // needed for the Docker Container port mapping to work
strictPort: true,
port: 9000, // you can replace this port with any port
},
});
|