exports-loader
JSON →Webpack loader that adds export statements to source files that lack them. Current stable version is 5.0.0 (Jan 2024), requiring Node.js >=18.12.0 and webpack^5.0.0. Commonly used for shimming legacy scripts, vendor files, or modules that do not expose exports. Supports inline query configuration and webpack rule options to generate named or default ES module exports (default) or CommonJS module.exports. Key differentiator: declarative, composable with other loaders; simpler than writing wrapper modules. No security incidents reported.
Traffic · last 30 days ↓50% vs prev 7d
total hits 13
actors 5 distinct systems
last hit 2d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇪🇸 Spain · 🇧🇷 Brazil · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/exports-loader
compatibility /v1/registry/exports-loader/compatibility