Skip to content
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

Performance issue since all component styles are loaded into single style.scss file #304

Closed
shijujckl opened this issue Jan 6, 2024 · 1 comment
Assignees
Labels

Comments

@shijujckl
Copy link

shijujckl commented Jan 6, 2024

Describe the bug
Performance issue since all component styles are loaded into single style.scss file.
To Reproduce
Steps to reproduce the behavior:

  1. Go to https://pagespeed.web.dev/ and enter the site url using emulsify theme
  2. Click on Analyze
  3. Scroll down to 'Reduce unused CSS'
  4. See the 'Transfer size' vs 'Potential savings'. In our case it is 190 KB transfer size and potential savings 180kb

Expected behavior
There should be an option to devide scss/css component level instead of combining in style.scss file

┆Issue is synchronized with this Clickup task by Unito

@callinmullaney
Copy link
Collaborator

@shijujckl Thanks for reporting this issue. It has been a long standing issue we haven't been able to overcome given the starter-kit nature of previous versions of Emulsify. As of Emulsify Core 2.x we are now compiling separate CSS/JS on a per-component basis. https://github.com/emulsify-ds/emulsify-core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Incoming
Development

No branches or pull requests

2 participants