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

Add --silence-deprecation Dart Sass options (slice?) #13045

Closed
razonyang opened this issue Nov 15, 2024 · 1 comment · Fixed by #13062
Closed

Add --silence-deprecation Dart Sass options (slice?) #13045

razonyang opened this issue Nov 15, 2024 · 1 comment · Fixed by #13062

Comments

@razonyang
Copy link
Contributor

I would like to request a feature to silence deprecation warnings from Dart Sass.

{{ $css := resources.Get "index.scss" | toCSS (dict
  "transpiler" "dartsass"
  "silenceDeprecation" "import"
) }}

Reference: https://sass-lang.com/blog/import-is-deprecated/#controlling-deprecation-warnings

@bep bep changed the title Options to control deprecation warnings from Dart Sass Make deprecation warnings from Dart Sass use Warnidf Nov 15, 2024
@bep bep changed the title Make deprecation warnings from Dart Sass use Warnidf Add --silence-deprecation and --fatal-deprecation Dart Sass options (slice?) Nov 15, 2024
@bep bep added this to the v0.139.0 milestone Nov 15, 2024
@bep
Copy link
Member

bep commented Nov 15, 2024

Note that these options must be passed via the protobuf API (https://github.com/bep/godartsass); I assume they are also available there and not just as CLI flags.

@bep bep changed the title Add --silence-deprecation and --fatal-deprecation Dart Sass options (slice?) Add --silence-deprecation Dart Sass options (slice?) Nov 18, 2024
bep added a commit to bep/hugo that referenced this issue Nov 18, 2024
bep added a commit that referenced this issue Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants