- nginx try_files: remove $uri/ so the Vite assets/ build directory doesn't shadow the /assets React route and trigger a 403 - Remove VitePWA plugin (leftover from scaffold, not needed for internal app) - Strip PWA-specific nginx location blocks (manifest, sw.js, registerSW.js) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
24 lines
529 B
JSON
24 lines
529 B
JSON
{
|
|
"name": "hnf-maintenance-frontend",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"lucide-react": "^0.468.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-router-dom": "^6.28.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.3.1",
|
|
"@types/react-dom": "^18.3.1",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"typescript": "^5.7.2",
|
|
"vite": "^6.0.5"
|
|
}
|
|
}
|