css-loader
JSON →CSS loader for webpack that interprets @import and url() like import/require() and resolves them. Current stable version is 7.1.4 (Feb 2026), with frequent releases. Key differentiator: it is the official webpack CSS loader, supporting CSS Modules, source maps, and advanced options like importLoaders and camelCase. Requires webpack 4+ as a peer dependency. Versions 6.x had a breaking change in 6.7.0 (named export default changes), and version 7.0.0 makes modules.namedExport true by default when esModule is enabled, requiring a migration from default import to namespace import.
Traffic · last 30 days stale · no recent hits
total hits 10
actors 4 distinct systems
last hit 19d ago ByteDance
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore
API endpoints
full doc /v1/registry/css-loader-1
compatibility /v1/registry/css-loader-1/compatibility