-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Hello, I'm back 😅
The library we have been using (which was already pretty big) decided to include their font icon library as dependency. Running a full compile takes like 5-10 minutes. This would be okay if it was the first time only, but every time any of our project files changes it seems to hang for that same amount of time. Only when not a single file is changed, it finishes within 5 seconds.
Is this a bug? Can we change our configuration to compile different scss files into separated .css files (even though they @import each other)? How can we get back to blazingly fast compile times?
Also, how can we get more insights into what the tool is doing? It might be nice to include some kind of verbose flag somewhere.
Reproduction case is attached.
- After downloading, go to .config/dotnet-tools.json and in Properties check the box to unblock.
- Run the script (if Smart Screen pops up, select More Info, Run Anyways), not sure if it will take a long time or will be fast.
- Run again, should be fast.
- Change my-styles.scss and try again, now it should take like 10 minutes.
slow-scss-compilation.zip