fix(templates): restore css_bundle calls in spa.html for production builds#38350
fix(templates): restore css_bundle calls in spa.html for production builds#38350gabotorresruiz wants to merge 1 commit intoapache:masterfrom
Conversation
Code Review Agent Run #e0dff2Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #38350 +/- ##
==========================================
+ Coverage 64.28% 64.98% +0.69%
==========================================
Files 1810 2483 +673
Lines 71479 123326 +51847
Branches 22770 28642 +5872
==========================================
+ Hits 45953 80138 +34185
- Misses 25526 41791 +16265
- Partials 0 1397 +1397
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
13ed9a2 to
af92e61
Compare
Code Review Agent Run #22dc76Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
SUMMARY
Restores
css_bundle()calls inspa.htmlthat were accidentally dropped during the Ant Design v5 overhaul. Without them, webpack-extracted CSS files (including @font-face declarations for Inter) are never loaded via<link>tags in production builds, causing the browser to fall back toHelvetica.Dev mode was unaffected since style-loader injects CSS inline.
TESTING INSTRUCTIONS
Helveticadocker-compose.override.ymlfile in the repository rootservices: superset: volumes: - ./superset/templates:/app/superset/templatesInterADDITIONAL INFORMATION