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:

  1. Increase budgets only
  2. Fix SCSS import and increase budgets
  3. 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


🔗 Related


Auto-generated by MCP Smart Consolidation