-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix css loader regression #19
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.51 (9.49 -> 10.00)
- Declining Code Health: 1 findings(s) 🚩
- Improving Code Health: 2 findings(s) ✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.51 (9.49 -> 10.00)
- Improving Code Health: 2 findings(s) ✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.51 (9.49 -> 10.00)
- Improving Code Health: 2 findings(s) ✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.51 (9.49 -> 10.00)
- Improving Code Health: 2 findings(s) ✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.51 (9.49 -> 10.00)
- Improving Code Health: 2 findings(s) ✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.51 (9.49 -> 10.00)
- Improving Code Health: 2 findings(s) ✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.00 (9.49 -> 9.49)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.51 (9.49 -> 10.00)
- Improving Code Health: 2 findings(s) ✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.04 (9.65 -> 9.69)
- Improving Code Health: 2 findings(s) ✅
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #19 +/- ##
============================================
- Coverage 97.58% 97.47% -0.12%
- Complexity 57 59 +2
============================================
Files 8 8
Lines 290 277 -13
============================================
- Hits 283 270 -13
Misses 7 7 ☔ View full report in Codecov by Sentry. |
This PR fixes a regression that caused css imports to error.
This was caused because we're compiling js code in the module boilerplate that was meant to auto invoke a iife export.
I've extracted the boilerplate to a blade file for finer templating control compared to the heredoc string used before.
caveats
Using a blade.js extension we kept js syntax highlighting, but vscode autoformat mucks up the syntax on save. Also blade directives caused squigglies everywhere.
I've settled for a blade.php file for now. This causes us to lose all js syntax highlighting. But no more squigglies or formatting issues. I'm exploring a better approach.
Also, the blade file is not picked up by code coverage. I have to fix that and add a regression test for the initial failing import.