[Pkg-javascript-commits] [node-module-deps] 110/444: pass opts.modules through to browser-resolve

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:47:47 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 1e449b16bffc8ece1c2b0dfdf8360ed6f4682a8a
Author: James Halliday <mail at substack.net>
Date:   Mon Jun 24 00:49:40 2013 -0700

    pass opts.modules through to browser-resolve
---
 index.js     | 1 +
 package.json | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/index.js b/index.js
index 5540d50..abadf20 100644
--- a/index.js
+++ b/index.js
@@ -76,6 +76,7 @@ module.exports = function (mains, opts) {
         
         if (opts.packageFilter) parent.packageFilter = opts.packageFilter;
         if (opts.extensions) parent.extensions = opts.extensions;
+        if (opts.modules) parent.modules = opts.modules;
         
         resolver(id, parent, function (err, file, pkg) {
             if (err) return output.emit('error', err);
diff --git a/package.json b/package.json
index 5845678..d180313 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
     "name": "module-deps",
-    "version": "0.12.0",
+    "version": "0.13.0",
     "description": "walk the dependency graph to generate json output that can be fed into browser-pack",
     "main": "index.js",
     "bin": {

-- 
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