Sass takes excessively long to compile
Author: solonovamaxCreated Mar 24, 2025Updated Sep 24, 2026
bug report
Sass takes excessively long to compile, when importing a bunch of sass functions. (not actually sure how long it takes, and it could be infinite. I did not bother to find out and killed it after 5 minutes)
Configuration (.babelrc, package.json, cli command)
N/A
Expected Behavior
It doesn't take excessively long to compile.
Current Behavior
It does take excessively long to compile.
Possible Solution
Use the sass-embedded instead of the sass package for @parcel/transformer-sass.
Context
Code Sample
- run
yarn install -D @sass-fairy/string - Create a sass file with the following at the top:
@use "@sass-fairy/string";
Your Environment
| Software | Version(s) |
|---|---|
| Parcel | 2.14.1 |
| Node | v23.10.0 |
| npm/Yarn | yarn v1.22.22 |
| Operating System | Arch Linux 6.13.7-arch1-1 x86_64 |
Source: parcel-bundler/parcel