-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
I get warnings in my Angular build for material-icons sass files related to @import and global built in functions being deprecated in Dart Sass with planned removal in Dart Sass 3.0.0.
Are there plans to update this library to move the Sass to the new syntax?
https://sass-lang.com/documentation/breaking-changes/import/
2 | @import 'round';
[09:21:23 ERR] node_modules/material-icons/iconfont/material-icons.scss 3:9 root stylesheet
[09:21:23 ERR] ./node_modules/material-icons/iconfont/material-icons.scss - Warning: Module Warning (from ./node_modules/sass-loader/dist/cjs.js):
[09:21:23 ERR] Deprecation Warning on line 2, column 10 of .../node_modules/material-icons/iconfont/_mixins.scss:2:10:
[09:21:23 ERR] Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
[09:21:23 ERR] Use string.index instead.
[09:21:23 ERR] More info and automated migrator: https://sass-lang.com/d/import
[09:21:23 ERR] 2 | $index: str-index($string, $search);
[09:21:23 ERR] node_modules/material-icons/iconfont/_mixins.scss 3:11 material-icons-str-replace()
[09:21:23 ERR] node_modules/material-icons/iconfont/_mixins.scss 35:16 material-icons-font()
[09:21:23 ERR] node_modules/material-icons/iconfont/filled.scss 4:1 @import
[09:21:23 ERR] node_modules/material-icons/iconfont/material-icons.scss 1:9 root stylesheet
[09:21:23 ERR] ./node_modules/material-icons/iconfont/material-icons.scss - Warning: Module Warning (from ./node_modules/sass-loader/dist/cjs.js):
[09:21:23 ERR] Deprecation Warning on line 3, column 8 of .../node_modules/material-icons/iconfont/material-icons.scss:3:8:
[09:21:23 ERR] Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
[09:21:23 ERR] More info and automated migrator: https://sass-lang.com/d/import
J12934 and jboix
Metadata
Metadata
Assignees
Labels
No labels