rollup-plugin-cjs-check
JSON →A Rollup plugin that automatically verifies CommonJS output compatibility with Node.js's cjs-module-lexer. Currently at v1.0.3, with stable release cadence. It analyzes the generated CJS bundle and compares the exports detected by Rollup against those that cjs-module-lexer would detect, flagging mismatches that cause broken named imports in Node.js ESM. Unlike manual testing, this provides automated CI enforcement. Requires Rollup >=1.20.0 and Node >=14.0.0.
Traffic · last 30 days stale · no recent hits
total hits 11
actors 5 distinct systems
last hit 24d ago AhrefsBot
top countries 🇺🇸 United States · 🇫🇷 France · 🇩🇪 Germany · 🇬🇧 United Kingdom · 🇨🇦 Canada
Resources
API endpoints
full doc /v1/registry/rollup-plugin-cjs-check
compatibility /v1/registry/rollup-plugin-cjs-check/compatibility