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 currently using the latest version of the react-datepicker library, and I'm encountering a Sass deprecation warning related to the use of @import in the Sass files.
I noticed that in the official npm package, the Sass files still use @import, but on the GitHub repository, I can see that @use is being used instead. This inconsistency is causing some confusion, as @import is deprecated in the latest versions of Sass, and I would like to ask for clarification regarding which approach should be followed for compatibility with newer Sass versions.
Could you please confirm if there are plans to update the package to replace @import with @use in the npm package as well, or if there are any recommended solutions for resolving this issue in the meantime?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm currently using the latest version of the react-datepicker library, and I'm encountering a Sass deprecation warning related to the use of @import in the Sass files.
I noticed that in the official npm package, the Sass files still use @import, but on the GitHub repository, I can see that @use is being used instead. This inconsistency is causing some confusion, as @import is deprecated in the latest versions of Sass, and I would like to ask for clarification regarding which approach should be followed for compatibility with newer Sass versions.
Could you please confirm if there are plans to update the package to replace @import with @use in the npm package as well, or if there are any recommended solutions for resolving this issue in the meantime?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions