{"action":"created","issue":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/1328","labels_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1328/labels{/name}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1328/comments","events_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1328/events","html_url":"https://github.com/jspm/jspm-cli/issues/1328","id":119282861,"number":1328,"title":"bundle-sfx and source maps","user":{"login":"netheril96","id":836839,"avatar_url":"https://avatars.githubusercontent.com/u/836839?v=3","gravatar_id":"","url":"https://api.github.com/users/netheril96","html_url":"https://github.com/netheril96","followers_url":"https://api.github.com/users/netheril96/followers","following_url":"https://api.github.com/users/netheril96/following{/other_user}","gists_url":"https://api.github.com/users/netheril96/gists{/gist_id}","starred_url":"https://api.github.com/users/netheril96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netheril96/subscriptions","organizations_url":"https://api.github.com/users/netheril96/orgs","repos_url":"https://api.github.com/users/netheril96/repos","events_url":"https://api.github.com/users/netheril96/events{/privacy}","received_events_url":"https://api.github.com/users/netheril96/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jspm/jspm-cli/labels/support","name":"support","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-28T09:38:43Z","updated_at":"2015-11-30T13:01:42Z","closed_at":null,"body":"When I call `jspm bundle-sfx` I get a single file that can execute on its own. However, the source map generated still require the original directory structure to be in place to work. So I cannot deploy that single bundled js and source map and be able to both execute and debug. Is there any work around? In case it isn't clear, can I have a self executing bundle with a source map that works only on their own?"},"comment":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/comments/160621773","html_url":"https://github.com/jspm/jspm-cli/issues/1328#issuecomment-160621773","issue_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1328","id":160621773,"user":{"login":"netheril96","id":836839,"avatar_url":"https://avatars.githubusercontent.com/u/836839?v=3","gravatar_id":"","url":"https://api.github.com/users/netheril96","html_url":"https://github.com/netheril96","followers_url":"https://api.github.com/users/netheril96/followers","following_url":"https://api.github.com/users/netheril96/following{/other_user}","gists_url":"https://api.github.com/users/netheril96/gists{/gist_id}","starred_url":"https://api.github.com/users/netheril96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netheril96/subscriptions","organizations_url":"https://api.github.com/users/netheril96/orgs","repos_url":"https://api.github.com/users/netheril96/repos","events_url":"https://api.github.com/users/netheril96/events{/privacy}","received_events_url":"https://api.github.com/users/netheril96/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T13:01:42Z","updated_at":"2015-11-30T13:01:42Z","body":"@guybedford \r\n\r\nOK, I successfully executed that command. But it is not what I want. It seems that with `--source-map-contents` `jspm` will simply inline the source map in the bundle. But to actually take advantage of the map, the original source files still has to be in place. What I want is a similar flag to `browserify --debug`, where the bundle itself contains all the original source files, and can be debugged without the original sources."}}