@haensl/rollup-plugin-local-resolve1.0.5 • Public • Published
Rollup plugin to resolve relative imports from local folders without stating the index file. E.g.
- Install the plugin
npm i -D @haensl/rollup-plugin-local-resolve
- Use it in your
;input: 'src/index.js'plugins:output:file: 'dist/index.cjs.js'format: 'cjs'file: 'dist/index.es.js'format: 'es'
- Functionality inspired by Johannes Stein's rollup-plugin-local-resolve
- Unit tests inspired by rollup's own rollup-plugin-node-resolve