{"action":"created","issue":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/1109","labels_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1109/labels{/name}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1109/comments","events_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1109/events","html_url":"https://github.com/jspm/jspm-cli/issues/1109","id":105584799,"number":1109,"title":"Document bundle dependencies functionality","user":{"login":"peteruithoven","id":523210,"avatar_url":"https://avatars.githubusercontent.com/u/523210?v=3","gravatar_id":"","url":"https://api.github.com/users/peteruithoven","html_url":"https://github.com/peteruithoven","followers_url":"https://api.github.com/users/peteruithoven/followers","following_url":"https://api.github.com/users/peteruithoven/following{/other_user}","gists_url":"https://api.github.com/users/peteruithoven/gists{/gist_id}","starred_url":"https://api.github.com/users/peteruithoven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peteruithoven/subscriptions","organizations_url":"https://api.github.com/users/peteruithoven/orgs","repos_url":"https://api.github.com/users/peteruithoven/repos","events_url":"https://api.github.com/users/peteruithoven/events{/privacy}","received_events_url":"https://api.github.com/users/peteruithoven/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-09T12:19:59Z","updated_at":"2015-09-18T07:42:17Z","closed_at":null,"body":"According to the following posts it should be possible to bundle dependencies:\r\nhttps://github.com/jspm/jspm-cli/issues/482#issuecomment-86668706\r\nhttps://github.com/jspm/jspm-cli/issues/872#issuecomment-114946729\r\nThis is of course totally awesome, but I had to find out trough the issues queues and it seems to use an undocumented syntax. \r\n\r\nBundling the dependencies should be possible with the command: \r\n``` bash\r\njspm bundle app/**/* - [app/**/*]\r\n```\r\n\r\n- How does `app/**/*` describe all the dependencies in `jspm_packages` but not one's custom code? \r\n- `app` should be one's main javascript? So when this is located in a *lib* folder it should be: `jspm bundle lib/app/**/* - [lib/app/**/*]`?\r\n- What's that ` - [app/**/*]` portion? \r\n- In both cases @guybedford mentions this functionality `--inject` isn't used, is there a reason for that? \r\n\r\nMaybe we could add this info to a *Development workflows* doc page? "},"comment":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/comments/141371788","html_url":"https://github.com/jspm/jspm-cli/issues/1109#issuecomment-141371788","issue_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1109","id":141371788,"user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T07:42:17Z","updated_at":"2015-09-18T07:42:17Z","body":"Ok it does sound like it is working fine then. `app` needs to be a folder directly in the baseURL. Perhaps check that the path is correct then."}}