Fixes SeoHead (title/canonical/hreflang/JSON-LD) to render during SSR via vite-react-ssg's Head component instead of a client-only useEffect, so crawlers see real tags without executing JS. Also fixes an SSR crash in useTheme (localStorage access with no window during server render) and removes now-duplicated static meta tags from index.html.
30 lines
677 B
JSON
30 lines
677 B
JSON
{
|
|
"name": "frontend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite-react-ssg dev",
|
|
"build": "vite-react-ssg build",
|
|
"lint": "oxlint",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@phosphor-icons/react": "^2.1.10",
|
|
"flag-icons": "^7.5.0",
|
|
"i18next": "^26.3.6",
|
|
"react": "^19.2.7",
|
|
"react-dom": "^19.2.7",
|
|
"react-i18next": "^17.0.11",
|
|
"react-router-dom": "^6.30.4",
|
|
"vite-react-ssg": "^0.9.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.2.17",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.3",
|
|
"oxlint": "^1.71.0",
|
|
"vite": "^8.1.1"
|
|
}
|
|
}
|