-
Notifications
You must be signed in to change notification settings - Fork 5
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
Split global CSS code into smaller chunks #429
Comments
Brenosalv
added
the
tech debt
This is a task that really only the engineers notice
label
Aug 5, 2024
Having multiple less css modules is returning these warnings: It's like webpack does not handle conflicting importing order between the css modules with Gatsby. Possible solutions:
|
I think we are fine with this. We do not use a lot of nesting and specificity in our styling so it should not cause any big issues. |
Created an issue for the css order conflicts: #474. |
travjenkins
added
the
ongoing
Work that is happening over a longer period of time / side effects of other work.
label
Sep 4, 2024
Closed with the PR 480. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Contributes to
#455
Tech debt
Currently the global CSS code
style.less
includes a bunch of non-global classes and other styles. Having a single, large CSS file like style.less with around 5800 lines of code can impact both performance and maintainability.Expected
Implement code splitting by moving each chunk of CSS to their specific folders where they are used and keep the
style.less
with only the global CSS code.Screenshots
It has 5886 lines of code:
commons.css:
The text was updated successfully, but these errors were encountered: