Skip to content

Commit

Permalink
Reflect that NODE_PATH is ignored in readme
Browse files Browse the repository at this point in the history
Due to browserify/resolve#39 browserify will
ignore NODE_PATH on the command line. As this seems to be intended
behavior, remove NODE_PATH from documentation.
  • Loading branch information
sternenseemann committed Jul 21, 2020
1 parent 6bca7e0 commit 5913509
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,7 @@ filenames that start with `.`.

`opts.paths` is an array of directories that browserify searches when looking
for modules which are not referenced using relative path. Can be absolute or
relative to `basedir`. Equivalent of setting `NODE_PATH` environmental variable
when calling `browserify` command.
relative to `basedir`.

`opts.commondir` sets the algorithm used to parse out the common paths. Use
`false` to turn this off, otherwise it uses the
Expand Down

0 comments on commit 5913509

Please sign in to comment.