mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 23:39:23 -06:00
Implement automated webpack solution to replace deprecated @import statements for Golden Layout themes with build-time CSS inlining. Key changes: - Add custom webpack loader to process Golden Layout imports - Automatically inline CSS content from node_modules at build time - Replace @import statements with actual CSS content - Maintain sync with Golden Layout package updates - Preserve existing theme architecture and performance Technical implementation: - Created replace-golden-layout-imports.cjs webpack loader - Integrated loader into SCSS processing pipeline - Smart detection of files containing golden-layout imports - Graceful error handling with fallback to original imports Benefits: - Removes deprecated Sass @import usage - No manual maintenance required - Automatic synchronization with dependency updates - Zero runtime performance impact - Maintains all existing theme functionality 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>