chore: 更新 vite 版本 && 使用 code-inspector-plugin 方便从前端定位到代码位置 (#430)

* chore: 更新 vite 版本 && 使用 code-inspector-plugin 方便从前端定位到代码位置

* fix: update tailwind config path and conditionally load code-inspector-plugin

- Update components.json to reference tailwind.config.cjs instead of deleted tailwind.config.js
- Load codeInspectorPlugin only in dev mode to avoid unnecessary code in production builds

---------

Co-authored-by: Jason <farion1231@gmail.com>
This commit is contained in:
TinsFox
2025-12-28 21:34:41 +08:00
committed by GitHub
parent 91deaf094e
commit 9716eb797f
9 changed files with 713 additions and 210 deletions
+8 -3
View File
@@ -9,7 +9,12 @@
"esModuleInterop": true,
"target": "ES2020",
"strict": true,
"types": ["node"]
"types": [
"node"
]
},
"include": ["vite.config.mts", "vitest.config.ts"]
}
"include": [
"vite.config.ts",
"vitest.config.ts"
]
}