File size: 372 Bytes
5b5b8a5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
import path from "path";
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "src"),
},
},
server: {
host: "0.0.0.0",
port: 7860,
allowedHosts: ["yousef2434-computer-vision-lab.hf.space", ".hf.space"],
},
});
|