browserify / browser-resolve

resolve function which support the browser field in package.json
MIT License
102 stars 70 forks source link

option to pass through a package filter #1

Closed ghost closed 11 years ago

ghost commented 11 years ago

In order to support the now deprecated "browserify" field in package.json for a little more I needed some hooks into the package.json contents. This patch lets me pass packageFilter through to the resolver logic before the contents are used to resolve modules.