Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Conversation

@chicio
Copy link
Owner

@chicio chicio commented Nov 22, 2019

Remove critical path from styles and remove unused rules from them using an npm library.

Description

New gulp task that uses a library to remove unused rules. Upgrade of critical in order to be able to use the callback with css + uncritical to save them.

Motivation and Context

Speed 🏃

How Has This Been Tested?

localhost tests.

Types of changes

  • Bug fix 🐛 (non-breaking change which fixes an issue)
  • New feature ✨ (non-breaking change which adds functionality)
  • Breaking change 💥 (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project 🍻.
  • My change requires a change to the documentation 💡 and I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document 👥.
  • I have added tests to cover my changes 🎉.
  • All new and existing tests passed ✅.

@chicio chicio changed the title WIP: Improve critical path + introduce purify css WIP: Improve critical path + clean unused css Nov 23, 2019
@chicio chicio changed the title WIP: Improve critical path + clean unused css Improve critical path + clean unused css Nov 27, 2019
@chicio chicio merged commit 6a2f0e3 into master Nov 27, 2019
@chicio chicio deleted the critical branch April 20, 2020 22:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants