rektide / resolve-but-module

Fork of browserify/resolve that prefers modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

resolve-but-module

do not use

fork of browserify/node-resolve that prefers modules

implements the node require.resolve() algorithm such that you can require.resolve() on behalf of a file asynchronously and synchronously. This fork prefers module to main in package.json.

Do Not Use

Just use resolve. Add a packageFilter that does what this library hardcoded. See example.

About

Fork of browserify/resolve that prefers modules

License:Other


Languages

Language:JavaScript 100.0%Language:CoffeeScript 0.0%