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

Introduce a custom module to silence dart sass warnings #364

Conversation

marcotranchino
Copy link
Contributor

With this change, we have defined a custom SassWarningSupressor module that overrides the warn method so that we can ignore messages containing 'sass' or 'dart-sass' only.

This is needed so that we can avoid sass warnings in downstream projects.

With this change, we have defined a custom SassWarningSupressor module that
overrides the warn method so that we can ignore messages containing 'sass'
or 'dart-sass' only.

This is needed so that we can avoid sass warnings in downstream projects.
@marcotranchino marcotranchino requested a review from huwd September 20, 2024 09:37
@marcotranchino
Copy link
Contributor Author

marcotranchino commented Sep 20, 2024

The alternative option at #365 doesn't work well.

@huwd
Copy link
Member

huwd commented Sep 23, 2024

What do you make the the test failures @marcotranchino?
Trying to work out if that means phantonJS isn't getting a rendered page in the way we'd want?

@marcotranchino
Copy link
Contributor Author

marcotranchino commented Sep 23, 2024

What do you make the the test failures @marcotranchino? Trying to work out if that means phantonJS isn't getting a rendered page in the way we'd want?

The test failures are unrelated, as they are introduced by other changes in the branch use-govuk-frontend-v5.

The test failures are intermittent... all the checks have passed now, @huwd

I am fixing the intermittent failures with a separate PR merging into the branch use-govuk-frontend-v5 at #368

@marcotranchino
Copy link
Contributor Author

Thanks for the review, @chao-xian !

@marcotranchino
Copy link
Contributor Author

Happy to merge this into your branch, @kr8n3r ?

@marcotranchino marcotranchino merged commit ab63d9a into use-govuk-frontend-v5 Oct 8, 2024
1 of 3 checks passed
@marcotranchino marcotranchino deleted the use-govuk-frontend-v5-silence-dart-sass-warnings branch October 8, 2024 13:26
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