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

[heft-sass] Allow suppressing SASS deprecation warnings #4958

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

dmichon-msft
Copy link
Contributor

Summary

Adds new options to sass.json:

  • ignoreDeprecationsInDependencies - Ignores deprecation warnings that originate in externals. Same as the --quiet-deps CLI flag to the SASS compiler.
  • silenceDeprecations - Takes an array of deprecation codes and silences all warnings about them. Same as the --silence-deprecations CLI parameter to the SASS compiler.

Details

How it was tested

Modified heft-sass-test to use the option. It has some instances of the "mixed-decls" deprecation in existing files.

Impacted documentation

Options for the heft-sass-plugin.

@iclanton iclanton merged commit d45f132 into microsoft:main Oct 3, 2024
4 checks passed
@dmichon-msft dmichon-msft deleted the sass-silence-deprecations branch October 4, 2024 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

3 participants