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 · 2 comments · Fixed by #13062
Closed

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

razonyang opened this issue Nov 15, 2024 · 2 comments · 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
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy