Sass Deprecation Warning Due to @import Usage in Latest Version #5297
Mrsunil12345
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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