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
Upon using bundle exec jekyll serve the generator emits many warnings about the deprecation of the @import system in Dart Sass.
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
╷
1 │ @import "type-on-strap";
│ ^^^^^^^^^^^^^^^
╵
C:\Users\Windows-PC\Documents\Coding\Jekyll\type-on-strap\Type-on-Strap\assets\css\main.scss 1:9 root stylesheet
Hmm, fair. Is this a roadblock that needs to be cleared from GitHub Pages' side or is manual conversion possible? I use GitLab pages, I am fairly sure they have different compatibilities.
We’re deprecating both Sass @import rules and global built-in functions now that the module system (@use and @forward rules) has been available for several years.
So the new way might be compatible with the older jekyll-sass-converter 🤔
I can try it out, see if I can do the migration and make it work.
Upon using
bundle exec jekyll serve
the generator emits many warnings about the deprecation of the @import system in Dart Sass.The webpage linked by Sass has an automatic migrator that can be ran over the style sheets with
or, alternatively on Windows, downloading the dart executable and running (dry run and normal run emit the same exception)
This however yields an exception that complains about an element miss in a list. Fairly sure that this is a bug on Sass-migrators' side.
Obviously, it would be nice to fix the deprecation warnings so as to not clutter the generation output, as well as future stability.
The text was updated successfully, but these errors were encountered: