Skip to content

Commit

Permalink
Add note that NODE_PATH is not supported
Browse files Browse the repository at this point in the history
browserify doesn't implicitly set opts.paths to NODE_PATH anymore
unlike stated previously in this documentation. For background see:

* browserify/resolve#39 (comment)
* browserify/resolve#47
* browserify/browserify#1626
  • Loading branch information
sternenseemann committed Jul 21, 2020
1 parent bc6ed15 commit 16e5ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,7 @@ This is because your application is more tightly coupled to a runtime
environment configuration so there are more moving parts and your application
will only work when your environment is setup correctly.

node and browserify both support but discourage the use of `$NODE_PATH`.
browserify supports `opts.paths` (although discourages it), but does not support `$NODE_PATH`.

## non-javascript assets

Expand Down

0 comments on commit 16e5ba0

Please sign in to comment.