amerc/package.json
artheru 344a3f7bb2 perf: preload tavern canvas tiles on the main domain (0.69.0)
- the LPC scene images only started downloading after the Scene2D chunk loaded
  and TavernGame mounted, extending the 'loading tavern…' flash
- preload them in main.jsx (gated to the main domain via App===Scene2DApp, so
  docs/pm don't fetch them) — they now download in parallel with the JS chunk
- verified live: images requested at 1461ms vs Scene2D chunk at 1467ms (before,
  in parallel), canvas renders correctly
2026-06-10 09:25:33 +08:00

20 lines
416 B
JSON

{
"name": "amerc-site",
"version": "0.69.0-preload",
"private": true,
"type": "module",
"scripts": {
"dev": "vite --host 0.0.0.0",
"build": "vite build",
"preview": "vite preview --host 0.0.0.0"
},
"dependencies": {
"@vitejs/plugin-react": "^5.0.0",
"lucide-react": "^0.468.0",
"marked": "^14.1.4",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"vite": "^7.0.0"
}
}