0

About 90 percent of the css rules generated in styles-m.css and styles-l.css are unused.

How can I get rid of them? Is there a way to locate from which modules these styles are being generated?

0

Follow up here: https://www.codextblog.com/code-snippet/how-to-remove-unwanted-js-and-css-file-in-magento-2/

You may see alot of print.css files that'd need to be removed.

1
  • Thanks for the answer. but i do not want to remove the css files. I want to get rid of the unsused parts. Sep 22 at 11:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.