I'm trying to migrate an application from Vite to Farm. The project uses Vuetify 2, which relies heavily on deprecated implicit divisions; as Vuetify 2 is deprecated by now, there isn't much I can do about it (safe migrating to v3, which is underway, but lots of work).
This causes dart-sass to emit hundreds of deprecation warnings like this during the build:
╷
58 │ $container-padding-x: $grid-gutter / 2 !default;
│ ^^^^^^^^^^^^^^^^
╵
node_modules/vuetify/src/styles/settings/_variables.scss 58:23 @import
node_modules/vuetify/src/styles/settings/_index.sass 1:9 @import
node_modules/vuetify/src/styles/styles.sass 2:9 @import
node_modules/vuetify/src/components/VSnackbar/_variables.scss 1:9 @import
node_modules/vuetify/src/components/VSnackbar/VSnackbar.sass 1:9 root stylesheet
Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($grid-gutter, 12) or calc($grid-gutter / 12)
More info and automated migrator: https://sass-lang.com/d/slash-div
Now, as that sass-lang page mentions, there's the setting quietDeps to silence these warnings. Alas, this doesn't seem to work for Farm when configured as documented:
I verified that options are passed by setting alertColor: true, which as expected made the deprecation warnings monochrome. I can't get it to omit the deprecations, though.
To reproduce:
Import a sass stylesheet that uses implicit divisions, or produce another deprecation (5 / 2)
Configure plugin-sass to silence deprecations (quietDeps: true)
Steps to reproduce
I'm trying to migrate an application from Vite to Farm. The project uses Vuetify 2, which relies heavily on deprecated implicit divisions; as Vuetify 2 is deprecated by now, there isn't much I can do about it (safe migrating to v3, which is underway, but lots of work).
This causes dart-sass to emit hundreds of deprecation warnings like this during the build:
Now, as that sass-lang page mentions, there's the setting
quietDeps
to silence these warnings. Alas, this doesn't seem to work for Farm when configured as documented:I verified that options are passed by setting
alertColor: true
, which as expected made the deprecation warnings monochrome. I can't get it to omit the deprecations, though.To reproduce:
5 / 2
)quietDeps: true
)Reproduce link
No response
What is actually happening?
Deprecations are logged.
System Info