[Pkg-javascript-commits] [node-module-deps] 191/444: document opts.paths

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:47:54 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-module-deps.

commit b6729a4b812e6d08c2fba622455d01289a72197e
Author: James Halliday <mail at substack.net>
Date:   Fri Apr 11 01:07:46 2014 -0700

    document opts.paths
---
 readme.markdown | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/readme.markdown b/readme.markdown
index dfa34c4..20683d7 100644
--- a/readme.markdown
+++ b/readme.markdown
@@ -88,6 +88,9 @@ this for large dependencies like jquery or threejs which take forever to parse.
 * opts.packageCache - an object mapping filenames to their parent package.json
 contents for browser fields, main entries, and transforms
 
+* opts.paths - array of global paths to search. Defaults to splitting on `':'`
+in `process.env.NODE_PATH`
+
 # events
 
 ## d.on('transform', function (tr, file) {})

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-module-deps.git



More information about the Pkg-javascript-commits mailing list