feat: add @onixbyte/vite-plugin-port-checker to enhance Vite configuration

This commit is contained in:
siujamo
2026-05-08 17:35:45 +08:00
parent 0efcf75221
commit 37adfddf3f
3 changed files with 29 additions and 1 deletions
+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 "@onixbyte/vite-plugin-port-checker"
// https://vite.dev/config/
export default defineConfig({
plugins: [react(), tailwindcss()],
plugins: [react(), tailwindcss(), portChecker()],
base: "/",
build: {
rolldownOptions: {