{"library":"rollup-plugin-local-resolve","title":"rollup-plugin-local-resolve","description":"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.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-local-resolve"],"cli":null},"imports":["import localResolve from 'rollup-plugin-local-resolve'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { rollup } from 'rollup';\nimport localResolve from 'rollup-plugin-local-resolve';\n\nawait rollup({\n  input: './src/index.js',\n  plugins: [localResolve()]\n});","lang":"javascript","description":"Basic setup: imports Rollup and the plugin, then passes localResolve as a plugin to enable resolving ./folder to ./folder/index.js.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}