This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
forked from glromeo/esbuild-sass-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hunting down some more reading on sass perf, I found this gh issue: sass/dart-sass#868. That led to me looking at sass-embedded as a drop-in replacement for sass. I tried that, and yep, it does what it says on the tin. Works the same, but async is way faster and comparable to sync perf (with the benefit of much higher throughput if you're doing a lot of stuff concurrently). My entire build wall-clock time is now down to 8s, and the slowest css bundles are 4.5s. Biggest downside seems to be that dart isn't compatible with musl libc, so I had to swap the base docker image I was using for my esbuild pipeline. Unclear to me if there are other tradeoffs.
- Loading branch information
Showing
5 changed files
with
1,644 additions
and
1,714 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.