Resolves Node-style directory imports (e.g., `./folder` to `./folder/index.js`) in Rollup. Version 1.0.7 is the latest stable release as of 2025, with no recent updates. It is a lightweight alternative to `rollup-plugin-node-resolve` for when you only need local index.js resolution without pulling in node_modules. Does not support async, absolute paths, or custom resolve extensions.
npm install rollup-plugin-local-resolveVerified import paths — ran on the pinned version, not inferred.
Basic setup: imports Rollup and the plugin, then passes localResolve as a plugin to enable resolving ./folder to ./folder/index.js.
Use rollup-plugin-node-resolve if you need node_modules resolution.
No fix available; consider contributing async support or using an alternative.
Manually resolve paths to absolute if needed.
Use a different plugin like @rollup/plugin-node-resolve for customization.
Add rollup-plugin-local-resolve to your Rollup plugins: `plugins: [localResolve()]`.
Use `import localResolve from 'rollup-plugin-local-resolve'` (default import).
No dependency data recorded yet.