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

Always run PurgeCSS if the project configures it #2

Merged
merged 5 commits into from Jan 18, 2021

Conversation

polarbirke
Copy link
Member

Make PurgeCSS part of the default PostCSS plugins config, but
conditinally execute it only if the project has a configuration
for a certain stylesheet or a global config for all stylesheets.
Stylesheet-specific configuration takes precedence over global
configuration.

Make PurgeCSS part of the default PostCSS plugins config, but
conditinally execute it only if the project has a configuration
for a certain stylesheet or a global config for all stylesheets.
Stylesheet-specific configuration takes precedence over global
configuration.
@polarbirke
Copy link
Member Author

@megatronCGN Work in progress. We're dependent on FullHuman/purgecss#488 to be resolved first (PurgeCSS errors without the fix).

I also haven't updated the README yet.

@polarbirke polarbirke marked this pull request as ready for review January 18, 2021 17:10
@polarbirke polarbirke merged commit 0fe51f3 into master Jan 18, 2021
@polarbirke polarbirke deleted the purgecss-support branch January 18, 2021 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant