Fix: How to fix build budget warnings and SCSS bloat in gograb-sp...
Documentation for Sessions
📝 Fix: How to fix build budget warnings and SCSS bloat in gograb-sp...
Date: 2026-01-28
Time: 14:46:12 UTC
Session: editor2-72.74
Agent: angular
Confidence: 95%
Status: ✅ Documented
📋 Decision Context
Question:
How to fix build budget warnings and SCSS bloat in gograb-space?
Task: Not specified
🎯 Decision Made
Chosen:
Fix SCSS import and increase budgets
Options Considered:
- Increase budgets only
- Fix SCSS import and increase budgets
- Split component into smaller files
💭 Reasoning
The world-editor.component.scss was importing the entire theme system (~391KB) but only using CSS custom properties which are already globally available. Removed the unnecessary @use import which should reduce the component style to under 150KB. Also increased budgets with room to grow: initial 12→18MB, component style 300→150KB (now achievable), scripts 2→4MB.
📁 Files Involved
- No files specified
🔗 Related
- Decision ID:
dev_1769611572149_cpa71gd - Session: 72
- Workspace: editor2
Auto-generated by MCP Smart Consolidation