feat: implemented listening port check by vite-plugin-port-checker
This commit is contained in:
+2
-1
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user