@use Modules vs. @extend: Managing Placeholder Inheritance Across Boundaries
Context Dart Sass 2.0+ deprecates @import in favor of @use with explicit namespaces. While @use prevents global namespace collisions and enables @forward for curated APIs, it introduces a hard constraint: @extend only resolves within the same module scope. A %placeholder defined in _a.scss cannot be extended from _b.scss when _a is loaded via @use . Trade-of