sheer / vite.config.ts
barreloflube's picture
chore: Update port configuration for Hugging Face deployment
acb2b2c
raw
history blame
378 Bytes
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { resolve } from "path";
// https://vitejs.dev/config/
export default defineConfig({
build: {
target: "esnext",
},
plugins: [react()],
resolve: {
alias: {
"@": resolve(__dirname, "./src"),
},
},
server: {
port: 7860
},
preview: {
port: 7860
}
});