sheer / vite.config.ts
barreloflube's picture
chore: Optimize Dockerfile and add Nginx configuration for production deployment
8502b63
raw
history blame contribute delete
395 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,
host: true,
},
preview: {
port: 7860
}
});