{"action":"created","issue":{"url":"https://api.github.com/repos/systemjs/builder/issues/255","labels_url":"https://api.github.com/repos/systemjs/builder/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/systemjs/builder/issues/255/comments","events_url":"https://api.github.com/repos/systemjs/builder/issues/255/events","html_url":"https://github.com/systemjs/builder/issues/255","id":97937030,"number":255,"title":"How to partially change path which would be in System.register after build?","user":{"login":"rootical","id":1233196,"avatar_url":"https://avatars.githubusercontent.com/u/1233196?v=3","gravatar_id":"","url":"https://api.github.com/users/rootical","html_url":"https://github.com/rootical","followers_url":"https://api.github.com/users/rootical/followers","following_url":"https://api.github.com/users/rootical/following{/other_user}","gists_url":"https://api.github.com/users/rootical/gists{/gist_id}","starred_url":"https://api.github.com/users/rootical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rootical/subscriptions","organizations_url":"https://api.github.com/users/rootical/orgs","repos_url":"https://api.github.com/users/rootical/repos","events_url":"https://api.github.com/users/rootical/events{/privacy}","received_events_url":"https://api.github.com/users/rootical/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-29T13:33:34Z","updated_at":"2015-07-30T13:25:19Z","closed_at":"2015-07-30T13:25:18Z","body":"I am passing some path to `builder.build('.tmp/systemjs/module.js');`. After the build I get my file registered as `System.register('tmp/systemjs/module.js', ...)` but I need it to become without `tmp`, just `System.register('systemjs/module.js', ...)`. \r\nI am loading config before the builder with loadConfig method. There I've tried to use different `path` variants, but was not very lucky. \r\n\r\nCould you please point me out to an option or to a proper `path` or `map` usage for this purpose? Thank you so much!"},"comment":{"url":"https://api.github.com/repos/systemjs/builder/issues/comments/126323442","html_url":"https://github.com/systemjs/builder/issues/255#issuecomment-126323442","issue_url":"https://api.github.com/repos/systemjs/builder/issues/255","id":126323442,"user":{"login":"rootical","id":1233196,"avatar_url":"https://avatars.githubusercontent.com/u/1233196?v=3","gravatar_id":"","url":"https://api.github.com/users/rootical","html_url":"https://github.com/rootical","followers_url":"https://api.github.com/users/rootical/followers","following_url":"https://api.github.com/users/rootical/following{/other_user}","gists_url":"https://api.github.com/users/rootical/gists{/gist_id}","starred_url":"https://api.github.com/users/rootical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rootical/subscriptions","organizations_url":"https://api.github.com/users/rootical/orgs","repos_url":"https://api.github.com/users/rootical/repos","events_url":"https://api.github.com/users/rootical/events{/privacy}","received_events_url":"https://api.github.com/users/rootical/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T13:25:18Z","updated_at":"2015-07-30T13:25:18Z","body":"Putting in paths something similar to paths in config.js:\r\n``` javascript\r\n  \"paths\": {\r\n    \"your-path/*\": \"./.tmp/systemjs/*\"\r\n  }\r\n```\r\nResolved the issue."}}