Also gather dependencies from foreign-lib modules

Description

Currently dependencies of foreign libs passed as modules are not gathered and processed in Closure.

It would be nice to make npm-deps and foreign libs passed as modules just work.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 (b/build "src" {:output-dir "out" :main 'foo.core :output-to "out/main.js" :asset-path "/out" :foreign-libs [{:file "src/foreign/lib.js" :module-type :es6 :provides ["js.lib"]}] :npm-deps {:react "15.6.1" :react-dom "15.6.1"} :install-deps true :optimizations :none :compiler-stats true :verbose true})
1 2 3 4 5 import React from 'react'; export var main = function() { console.log("This is my JSX component: " + React.DOM.div(null, 'hi')); };

Environment

None

Status

Assignee

David Nolen

Reporter

António Monteiro

Labels

Approval

None

Patch

Code and Test

Fix versions

Affects versions

1.9.908

Priority

Major
Configure