-
Notifications
You must be signed in to change notification settings - Fork 9
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
Alter the config to pass a --quiet-deps flag #27
base: master
Are you sure you want to change the base?
Conversation
@jukra It does work! Nevermind my above post. I forgot to add the config! 🫢 config.sass.quiet_deps = true I deleted my above comment, although you may still receive it in email. Thank you again! Deprecation warnings are still given for the top level |
That's great, thanks for testing! @johnnyshields would you have time to review the PR? |
Could you please check this PR. We need it for our testing environment. |
People, we need this fix, the amount of warnings in the testing console is annoying 😵 |
@perrro @matiasmasca I'm sure you know, but in the meantime, you can install the version from this branch in your Gemfile: gem "dartsass-sprockets", git: "git://github.com/jukra/dartsass-sprockets.git", branch: "quiet-deps" |
Thank you! I will do that in the meantime |
It didn't work, for my case, I'm still getting the annoying warning messages in my test environment. Before using it, I changed a little typo in @nimmolo recommendation 'quiet_deps' with "_" |
@matiasmasca did you also change your config? # config/environments/development.rb
config.sass.quiet_deps = true |
Checked it out and it works. https://sass-lang.com/documentation/cli/dart-sass/#silence-deprecation The |
@johnnyshields LGTM please |
Adding an option to silence the deprecation warning during compilation.
https://sass-lang.com/documentation/cli/dart-sass/#:~:text=scss%20style.css-,%2D%2Dquiet%2Ddeps,rule%20or%20the%20%40debug%20rule.
This should fix #25 and kind of a workaround for #26