rollup-plugin-sass icon indicating copy to clipboard operation
rollup-plugin-sass copied to clipboard

`--quiet -q` flag/option is not respected

Open jackblackCH opened this issue 6 years ago • 3 comments

all @warn statements are still visible in the output.

jackblackCH avatar Nov 29 '18 09:11 jackblackCH

this plugin use dart-sass as default sass compiler and --quiet flag/option not supported by it. try node-sass with runtime option :)

differui avatar Nov 29 '18 10:11 differui

Does not work either

jackblackCH avatar Nov 29 '18 11:11 jackblackCH

Hi @jackblackCH:

As comment from https://github.com/sass/node-sass/issues/2265#issuecomment-370198733. --quiet flag/option only for CLI.

differui avatar Nov 30 '18 03:11 differui

This option is now added to dart-sass (https://sass-lang.com/documentation/cli/dart-sass/#quiet). Moving this to 'needs-triage'.

elycruz avatar Oct 07 '23 14:10 elycruz

So turns out the (sass) JS API doesn't support the quiet option (just the quietDeps option):

  • https://sass-lang.com/documentation/js-api/types/legacyoptions/
  • https://sass-lang.com/documentation/js-api/interfaces/legacyfileoptions/
  • https://sass-lang.com/documentation/js-api/interfaces/legacystringoptions/
  • https://sass-lang.com/documentation/js-api/interfaces/legacysharedoptions/

Closing this issue.

elycruz avatar Oct 07 '23 17:10 elycruz