22 lines
606 B
JavaScript
22 lines
606 B
JavaScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import svgr from "vite-plugin-svgr";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), svgr(), tailwindcss()],
|
|
server: {
|
|
port: 5174,
|
|
allowedHosts: [
|
|
"symphystic-zack-exsertile.ngrok-free.dev",
|
|
"brian-merest-unirritably.ngrok-free.dev",
|
|
"enabled-upright-boxer.ngrok-free.app"
|
|
],
|
|
},
|
|
// esbuild: {
|
|
// // This will remove all console.* calls and debugger statements
|
|
// drop: ["console", "debugger"],
|
|
// },
|
|
});
|