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

Make cssnano remove all comments #11754

Merged
merged 2 commits into from
Nov 12, 2018
Merged

Make cssnano remove all comments #11754

merged 2 commits into from
Nov 12, 2018

Conversation

jdevalk
Copy link
Contributor

@jdevalk jdevalk commented Nov 12, 2018

As referenced by @jasmussen here, this should fix the fact that /* style comments are not removed by cssnano.

As referenced by @jasmussen [here](#11752 (comment)), this should fix the fact that `/*` style comments are not removed by cssnano.
@jasmussen jasmussen requested a review from a team November 12, 2018 10:46
Copy link
Contributor

@youknowriad youknowriad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

discardComments: {
removeAll: true,
},
}]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there's some failing eslint rules here. You can run npm run lint locally to test.

@jdevalk
Copy link
Contributor Author

jdevalk commented Nov 12, 2018

Fixed with a little help from @afercia 😄

@youknowriad youknowriad merged commit c2852c2 into WordPress:master Nov 12, 2018
@youknowriad youknowriad added this to the 4.4 milestone Nov 12, 2018
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.

3 participants