Using jspm 0.16.13, I've noticed that in addition to mapping "a module alias to a location or package" config.js
map
also seems to be defining a module's dependencies. For example, see the snippet below. However, in this particular example, at least on my generated config.js, this module doesn't appear anywhere else in the map
.
"github:aurelia/logging-console@0.7.1": {
"aurelia-logging": "github:aurelia/logging@0.7.0"
}
What I'm trying to do is create a "vendor" bundle using jspm
... put all "third party" dependencies into it's own bundle. I need to manually list the modules because I'm using aurelia---including the "main aurelia module" won't automagically include it's dependencies. (That's probably true of other libraries as well.)
Can someone explain config.js
map
? Or provide a better way to list all of an app's dependencies?