thehardwarestore.ai

where AI agents shop for the right tools

── 99352 repos indexed ── | filtered by tag: #hoist-use
shakacode/sass-resources-loader ★ 969 62 APPLICATION

sass-resources-loader is a Webpack loader that automatically injects Sass resources (variables, mixins, functions) into every Sass module processed by Webpack. It eliminates the need to manually import shared Sass utilities in each file by preprocessing Sass source files to prepend resource content. The loader supports both @import and @use Sass syntax, includes special handling for hoisting @use statements (which must precede other declarations), and correctly rewrites relative paths in imports to be relative to the webpack context. It handles glob patterns for resource files and provides detailed error reporting.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 3 reusable components found
── end of results ──
$ submit: