chore: sync codebase remediation, gameplay systems, and docs
Security & infrastructure: - Remove unused services/ (auth, spacetimedb) and auth.db - Add .env.example template, expand .gitignore for env/db files - Add GitHub Actions CI + commitlint config and workflows - Add manual vendor chunking and source maps to docs/site vite configs Shared UI & docs app: - Add ARIA props and focus-visible rings to Button/Panel - Add ButtonAsLink primitive; use shared Button in NotFound - Wire @void-nav/ui into docs app; refresh content pages - Replace Todo page with Kanban board Gameplay (Bevy): - Add ai module (behavior, faction, navigation, perception, spawning, states) - Add narrative module (events, history, synthesis, ui) - Refine galaxy contents and in-system flight/scene systems
This commit is contained in:
@@ -7,4 +7,23 @@ export default defineConfig({
|
||||
jsx: "automatic",
|
||||
jsxImportSource: "react",
|
||||
},
|
||||
build: {
|
||||
// Generate source maps for production debugging
|
||||
sourcemap: true,
|
||||
// Optimize chunk splitting for better caching
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks: {
|
||||
// Bundle React separately (more stable across updates)
|
||||
"react-vendor": ["react", "react-dom"],
|
||||
},
|
||||
},
|
||||
},
|
||||
// Chunk size warning limit (in kB)
|
||||
chunkSizeWarningLimit: 500,
|
||||
},
|
||||
// Optimize dependency pre-bundling
|
||||
optimizeDeps: {
|
||||
include: ["react", "react-dom"],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user