mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 21:21:12 -06:00
- Add fatalDeprecations: ['import'] to sass-loader to make SCSS @import warnings into build errors - Refactor golden-layout import loader for better maintainability: - Extract GOLDEN_LAYOUT_PREFIX constant - Add replaceGoldenLayoutImport helper function - Generalize readGoldenLayoutCSS to handle full relative paths - Remove unnecessary else clause This ensures that any new problematic @import statements will cause builds to fail, preventing regressions in the SCSS migration work from PR #7971, while still allowing legitimate CSS imports like FontAwesome. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>