feat: implemented listening port check by vite-plugin-port-checker

This commit is contained in:
2026-05-10 13:30:25 +08:00
parent 26bca96575
commit 5790750124
+2 -1
View File
@@ -2,10 +2,11 @@ import { fileURLToPath, URL } from "node:url"
import { defineConfig } from "vite"
import react from "@vitejs/plugin-react"
import tailwindcss from "@tailwindcss/vite"
import portChecker from "vite-plugin-port-checker"
// https://vite.dev/config/
export default defineConfig({
plugins: [react(), tailwindcss()],
plugins: [react(), tailwindcss(), portChecker()],
base: "/",
build: {
rolldownOptions: {