We are a team of 6 developers with heterogeneous settings (Windows 10, Ubuntu, macOS) and started development using React.
The scripts between Linux / macOS and Windows were painful, so we decided to use Bash for Windows to run our collections. This works very well once you have configured Bash correctly and the integration with VS Code is great. But there is a big catch: whenever you want to update your project outside of Bash (with CMD or PowerShell), you actually switch your OS and then get a good error from node-sass saying that your environment has changed .
Since rebuilding node-sass just never works, the only way we decided to get rid of this problem is to remove or rename node_modules and run npm install again, but this is a lot of time / resources.
We saw that it looks like there is an alternative to js native js , but we would like to see if anyone has experienced the same thing and found a suitable solution.
We really don't have massive SASS files, so we are not really interested in performance (which is the main point for this in C ++ using libSass).
Note We cannot always use Bash for Windows, because we have some dirty Maven integration in some Java / React applications that run npm assemblies, and it will always be on Windows.
source share