Fix Vite 7.x TDZ error in __vite__mapDeps with post-build script

- Add post-build script to fix Temporal Dead Zone error in generated code
- Remove debug logging from stores and composables
- Simplify init-logger plugin to essential error handling
- Fix circular store dependency in useUiStore

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-01 20:21:12 +01:00
parent 8c7a02a019
commit c5c30fd4c4
4 changed files with 83 additions and 4 deletions

View File

@ -4,7 +4,7 @@
"version": "0.1.2",
"type": "module",
"scripts": {
"build": "nuxt build",
"build": "nuxt build && node scripts/fix-vite-mapdeps.js",
"dev": "nuxt dev",
"drizzle:generate": "drizzle-kit generate",
"drizzle:migrate": "drizzle-kit migrate",