You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using SCSS with component library to configure stylesheet generation with custom vars. I have started to see a lot of deprecation warnings as soon as I start my dev server.
Example:
Deprecation Warning: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
More info and automated migrator: https://sass-lang.com/d/import
╷
6 │ @import "utils/animations";
│ ^^^^^^^^^^^^^^^^^^
╵
node_modules\.pnpm\@[email protected]_@[email protected][email protected][email protected]__\node_modules\@oruga-ui\theme-oruga\dist\scss\oruga.scss 6:9 @import
node_modules\.pnpm\@[email protected]_@[email protected][email protected][email protected]__\node_modules\@oruga-ui\theme-oruga\dist\scss\oruga-build.scss 9:9 @import
src\styles\main.scss 21:9
root stylesheet
The text was updated successfully, but these errors were encountered:
Yes, the theme needs to be refactored with the @use and @forward sass feature instead of the deprecated @import.
However, this is not on my list yet, as I'm currently focusing on other things within the Oruga project.
But this must/should be focused when Sass 3.0.0 comes out.
I'm using SCSS with component library to configure stylesheet generation with custom vars. I have started to see a lot of deprecation warnings as soon as I start my dev server.
Example:
The text was updated successfully, but these errors were encountered: