Are deprecation warnings normal when running vite example? #41173
-
I ran this example https://github.com/twbs/examples/tree/main/vite and got several warnings off the bat. Is this normal and should be ignored?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, IF you do not care about the warnings the application should work just fine and the warnings can be ignored. Here is the related issue I am referring to: Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Yeah, those deprecation warnings are pretty common with newer versions of Dart Sass. They’re mostly just letting you know that some old functions will be removed in the future. You can still use them for now, but it's a good idea to start updating your code to avoid issues later on. Edited by maintainer: removed off-topic promotion for an agency |
Beta Was this translation helpful? Give feedback.
Hi,
I believe that the SASS legacy-js-api can be ignored as I believe that SASS is moving to a new API and is just warning developers. As for you other issues; I am running a project with a similar structure and get very similar warnings my solution is to use patch-package in the meantime until bootstrap updates to match the new SASS updates. It is not the most optimal solution but it should remove your warnings. You could also suppress your warnings in the SASS compiler.
IF you do not care about the warnings the application should work just fine and the warnings can be ignored.
Here is the related issue I am referring to:
#40962
Hope this helps!