Hello, I just attempted to fix the recent warning that is popping up in a lot of projects due to dart-sass.
Deprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
While this fix seems to work and remove the message, it seems that when using CSS modules, upon compilation we're getting an error ReferenceError: classes is not defined when attempting to use the classes of a CSS module in this fashion: className={classes.userTitle}.
We're using Turbo with Next.js. Would love to solve this, any idea?
Reactions are currently unavailable
Hello, I just attempted to fix the recent warning that is popping up in a lot of projects due to dart-sass.
Deprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
While this fix seems to work and remove the message, it seems that when using CSS modules, upon compilation we're getting an error ReferenceError: classes is not defined when attempting to use the classes of a CSS module in this fashion: className={classes.userTitle}.
We're using Turbo with Next.js. Would love to solve this, any idea?