What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello people, Did someone implement PurgeCSS in a Spryker project before? I've done a simple impleme

U01K43ADW5N
U01K43ADW5N Posts: 69 πŸ§‘πŸ»β€πŸš€ - Cadet

Hello people,
Did someone implement PurgeCSS in a Spryker project before?
I've done a simple implementation, but it breaks some pages.

Comments

  • U019JM2HE7N
    U019JM2HE7N Posts: 61 πŸ§‘πŸ»β€πŸš€ - Cadet

    Hey, we have not implemented PurgeCSS.
    Without knowing how PurgeCSS actually works, I think the problem here is that PurgeCSS is not able to analyze the full document response. https://purgecss.com/extractors.html#list-of-available-extractors-in-progress
    Can you share some configuration how did you setup PurgeCSS?

  • U019JM2HE7N
    U019JM2HE7N Posts: 61 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited September 2022

    Since the code coverage in our application stylesheet is about ~10%, I’m also thinking about ways how to minimize the size. Didn’t found a good solution yet