-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Material design packages have moved to v6. Starting in v5 they began using the sass module system. Sass-loader is experiencing bugs loading modules that use both @import and @use. There are some potential workarounds that require editing webpack configs. We can not edit these unless we eject our create react app, which would not be preferred.
Sass and sass-loader are locked in a discussion to resolve the above mentioned issues, documented in this github issue. I'd suggest we hold off on upgrading material from v4 > v6 until they can work out their differences and see if things work a little smoother after an update to sass-loader is released.
ADDITIONALLY, we are using node-sass to compile our sass files. Node-sass does not currently support sass modules, so we will need to use dart-sass instead when we begin the upgrade process. Unless node-sass is updated as well.
Yay javascript!