{"action":"created","issue":{"url":"https://api.github.com/repos/systemjs/builder/issues/522","repository_url":"https://api.github.com/repos/systemjs/builder","labels_url":"https://api.github.com/repos/systemjs/builder/issues/522/labels{/name}","comments_url":"https://api.github.com/repos/systemjs/builder/issues/522/comments","events_url":"https://api.github.com/repos/systemjs/builder/issues/522/events","html_url":"https://github.com/systemjs/builder/issues/522","id":139492981,"number":522,"title":"Add support for source directory -> destination directory style bundling","user":{"login":"Bajix","id":4229773,"avatar_url":"https://avatars.githubusercontent.com/u/4229773?v=3","gravatar_id":"","url":"https://api.github.com/users/Bajix","html_url":"https://github.com/Bajix","followers_url":"https://api.github.com/users/Bajix/followers","following_url":"https://api.github.com/users/Bajix/following{/other_user}","gists_url":"https://api.github.com/users/Bajix/gists{/gist_id}","starred_url":"https://api.github.com/users/Bajix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bajix/subscriptions","organizations_url":"https://api.github.com/users/Bajix/orgs","repos_url":"https://api.github.com/users/Bajix/repos","events_url":"https://api.github.com/users/Bajix/events{/privacy}","received_events_url":"https://api.github.com/users/Bajix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-09T06:57:59Z","updated_at":"2016-03-09T12:43:35Z","closed_at":null,"body":"It seems that the SystemJS Builder doesn't give developers much options to build from assets in one folder, into another.\r\n\r\nI tried a couple of different approaches to accomplish this, however in the end ended up taking the nuclear approach & monkey patched output to override paths.\r\n\r\nDue to how this module canonicalizes ID's, it didn't seem like it was an option to simply set the baseURL towards the destination folder & manually resolve paths via the fetch hook.\r\n\r\nIs there a better way of going about this, or otherwise thoughts on changing the API to support an input directory / output directory workflow out of the box?\r\n\r\nFor reference, here's the solution I'm currently using as a stop gap measure:\r\nhttps://github.com/Bajix/broccoli-system-builder"},"comment":{"url":"https://api.github.com/repos/systemjs/builder/issues/comments/194279952","html_url":"https://github.com/systemjs/builder/issues/522#issuecomment-194279952","issue_url":"https://api.github.com/repos/systemjs/builder/issues/522","id":194279952,"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":"2016-03-09T12:43:35Z","updated_at":"2016-03-09T12:43:35Z","body":"What are you looking to achieve with a direvtory -> directory compilation? If you're looking to do single-file compilations of all files in the directory, regardless of their dependencies then look at `builder.compiler`. If you're looking to build an entire directory into a single bundle file, look at wildcard arithmetic."}}