Skip to content

Readme should be more accurate #67

@zhanzhenzhen

Description

@zhanzhenzhen
  1. It seems that options are not limited to the listed 5. "basedir", "extensions" in the resolve package can also be used, but I can't find that in readme.
  2. There are some typo in the examples. For example,
var shims = {
    http: '/your/path/to/http.js'
};

var resolve = require('browser-resolve');
resolve('fs', { modules: shims }, function(err, path) {
    console.log(path);
});

I think it should be resolve('http')?

In the "Browser Field" section, why is there a "chromeapp" property?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions