Add configuration to allow --quiet-deps to be passed to Dart Sass
See original GitHub issue🚀 Feature request
Dart Sass is throwing lots of deprecation warnings for 3rd party packages. The Dart Scss team has added a flag to silence them.
https://github.com/sass/dart-sass/issues/672
Is it possible to have a configuration flag in the ng cli to pass through flags to Dart Sass?
Command (mark with an x)
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- extract-i18n
- run
- config
- help
- version
- doc
Description
(see above)
Describe the solution you’d like
(see above)
Describe alternatives you’ve considered
Not sure of any other options.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:7
Top Results From Across the Web
Dart Sass Command-Line Interface
This option (abbreviated -I ) adds an additional load path for Sass to look for stylesheets. It can be passed multiple times to...
Read more >How to pass SASS option to Angular library builder
There is an option : --quiet-deps that can be used when manually executing sass, to hide these warnings. My question is, how and...
Read more >sass-loader - webpack - JS.ORG
This allows you to control the versions of all your dependencies, and to choose which Sass implementation to use. Note. We highly recommend...
Read more >Using Gulp with Dart Sass - Zell Liew
How to set up Dart Sass with Gulp. ... Setting up Gulp ... Next let's create a css function to transpile Sass to...
Read more >esbuild-sass-plugin - npm
esbuild plugin for sass/scss files supporting both css loader and css ... style to be added to the html page; uses the new...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@elektronik2k5,
The main reasons why we decided to go with this approach is
--verboseflag.This feature is not available in the Node API. See https://github.com/sass/dart-sass/issues/672#issuecomment-846311746. That said, there is a similar feature which in the Node API https://github.com/sass/sass/issues/3065.
It very unlikely that we want to increase the API and provide this feature to turn on/off this behaviour.
Possibly we can turn on
quietDeps, although I feel like this would cause other issues down the line, since warnings will not be displayed, consumers of the libraries will be unable to report these warnings to the library author. Eventually these warnings will turn to fatal errors and there would be no way to suppress them.Will bring up this issue during our next team meeting and see what the other team members think.