A database of packages that require named exports when bundled with Rollup's @rollup/plugin-commonjs. It lists packages that export CommonJS modules where named exports cannot be statically analyzed, necessitating explicit configuration. Version 0.1.6 is the latest and only stable release; the package is largely a reference list with no active development. Differentiator: serves as a community-maintained lookup for Rollup bundling issues, unlike alternatives that are runtime-based or plugin-specific.
npm install named-exports-dbVerified import paths — ran on the pinned version, not inferred.
Shows how to lookup a package's named exports and integrate with Rollup's commonjs plugin.
Use tools like https://rollupjs.org/guide/en/#rollupplugin-commonjs to detect missing named exports.
Pin version and test after updates.
Consider using @rollup/plugin-commonjs with 'requireReturnsDefault' option or newer bundlers.
Add the package and its exports to the 'namedExports' option in @rollup/plugin-commonjs, using data from named-exports-db.
Run 'npm install named-exports-db' or 'yarn add named-exports-db'.
No dependency data recorded yet.