- Automatically degrades from 'module' -> 'jsnext:main' -> 'main' -> 'index.js'
- Correctly resolves symlinked packages.
- Prefers entry-module basedir as basedir for resolution (ideal for bundled apps, prevents duplication of shared modules).
Originally developed as part of Handroll.
$ npm install rollup-plugin-node-resolve-magic --save-dev
Add the following code to your project's