style-resources-loader

JSON →
library 1.5.0 ·javascript
verified May 27, 2026

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.

total hits 21
actors 6 distinct systems
last hit 14h ago AhrefsBot
GPTBot
5
ByteDance
5
MetaBot
4
Script
1
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France · 🇨🇦 Canada · 🇬🇧 United Kingdom