style-resources-loader
JSON →A webpack loader that automatically injects CSS preprocessor resources (variables, mixins, functions) into all processed style files for Sass, SCSS, Less, and Stylus. v1.5.0 is the latest stable release, compatible with webpack 3, 4, and 5. It eliminates the need for manual @import statements in every file, simplifies theme customization (e.g., overriding Ant Design variables), and supports custom injectors (prepend/append) as well as glob patterns. Unlike similar tools (e.g., sass-loader prependData), it works across multiple preprocessors and allows resource file globbing.
Traffic · last 30 days ↑0% vs prev 7d
total hits 21
actors 6 distinct systems
last hit 14h ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France · 🇨🇦 Canada · 🇬🇧 United Kingdom
Resources
API endpoints
full doc /v1/registry/style-resources-loader
compatibility /v1/registry/style-resources-loader/compatibility