Dynamic Dependencies
Author: chriseppsteinCreated May 8, 2013Updated Sep 16, 2026
Labelsenhancementplanned
- Proposal (https://github.com/sass/sass/pull/4243)
- Flush to spec (https://github.com/sass/sass/pull/4247)
- Dart Sass (https://github.com/sass/dart-sass/pull/2861)
- Node.js embedded host (https://github.com/sass/embedded-host-node/pull/446)
- Tests (https://github.com/sass/sass-spec/pull/2170)
- Website (https://github.com/sass/sass-site/pull/1668)
There's a way to compute dependencies efficiently and reliably on a first pass compile that would allow for the second pass to be optimized without needing to statically analyze the sass files for their @import dependencies. This would also allow for generic dependencies on things like images when used with compass sprites, or image-dimension helpers.
Source: sass/sass