{"library":"rollup-plugin-auto-named-exports","title":"rollup-plugin-auto-named-exports","description":"A Rollup plugin that automatically resolves named exports from CommonJS modules to avoid the 'is not exported by module' error. Version 1.0.0-beta.3. Base on rollup-plugin-commonjs, it scans modules and generates namedExports configuration automatically. Release cadence: low, beta stage. Key differentiator: eliminates manual namedExports configuration in rollup-plugin-commonjs. Alternative to manual namedExports or @rollup/plugin-commonjs namedExports. Note: tree-shaking may be affected, use with caution for production builds.","language":"javascript","status":"maintenance","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-auto-named-exports"],"cli":null},"imports":["import autoNamedExports from 'rollup-plugin-auto-named-exports'","const autoNamedExports = require('rollup-plugin-auto-named-exports')","import type { Plugin } from 'rollup'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import resolve from 'rollup-plugin-node-resolve';\nimport commonjs from 'rollup-plugin-commonjs';\nimport autoNamedExports from 'rollup-plugin-auto-named-exports';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'cjs'\n  },\n  plugins: [\n    resolve(),\n    commonjs({\n      namedExports: {\n        // no need manual custom\n      }\n    }),\n    autoNamedExports()\n  ]\n};","lang":"javascript","description":"Basic setup with rollup-plugin-node-resolve, rollup-plugin-commonjs, and auto-named-exports to automatically resolve named exports.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}