24 lines
534 B
TypeScript
24 lines
534 B
TypeScript
import path from "path"
|
|
import tailwindcss from "@tailwindcss/vite"
|
|
import react from "@vitejs/plugin-react"
|
|
import { defineConfig } from "vite"
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
server: {
|
|
host: '0.0.0.0', // Listen on all interfaces
|
|
port: 5173,
|
|
allowedHosts: [
|
|
'dockervm',
|
|
'localhost',
|
|
'127.0.0.1',
|
|
'store.felo.gg' // Add your domain
|
|
],
|
|
}
|
|
}) |