13 lines
389 B
TypeScript
13 lines
389 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
server: {
|
|
host: true, // expone en 0.0.0.0
|
|
allowedHosts: "all", // permite dominios como *.ngrok-free.dev
|
|
port: 5173,
|
|
strictPort: true, // no brinca de puerto
|
|
},
|
|
}); |