{"action":"created","issue":{"url":"https://api.github.com/repos/systemjs/builder/issues/542","repository_url":"https://api.github.com/repos/systemjs/builder","labels_url":"https://api.github.com/repos/systemjs/builder/issues/542/labels{/name}","comments_url":"https://api.github.com/repos/systemjs/builder/issues/542/comments","events_url":"https://api.github.com/repos/systemjs/builder/issues/542/events","html_url":"https://github.com/systemjs/builder/issues/542","id":146383589,"number":542,"title":"Sourcemap line offset using jspm beta","user":{"login":"domagojk","id":1868852,"avatar_url":"https://avatars.githubusercontent.com/u/1868852?v=3","gravatar_id":"","url":"https://api.github.com/users/domagojk","html_url":"https://github.com/domagojk","followers_url":"https://api.github.com/users/domagojk/followers","following_url":"https://api.github.com/users/domagojk/following{/other_user}","gists_url":"https://api.github.com/users/domagojk/gists{/gist_id}","starred_url":"https://api.github.com/users/domagojk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domagojk/subscriptions","organizations_url":"https://api.github.com/users/domagojk/orgs","repos_url":"https://api.github.com/users/domagojk/repos","events_url":"https://api.github.com/users/domagojk/events{/privacy}","received_events_url":"https://api.github.com/users/domagojk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-04-06T17:37:03Z","updated_at":"2016-05-05T07:58:03Z","closed_at":"2016-04-29T13:51:08Z","body":"When I am building my app in JSPM beta 12 without minify with source maps, source maps are loaded but it seems incorrectly. If I add breakpoint it misses \"real\" code by about 3 lines...\r\n\r\nI have created simple project with just one .js file:\r\nhttps://github.com/domagojk/jspm-test\r\nit can be tested here:\r\nhttp://preview.a4ov40j99qz1tt9w57xeounmy0newmiajacgh7of01nstt9.box.codeanywhere.com:8080/\r\n\r\nYou can try opening up this page with chrome debugger, with break point in test.js, for example at line 10 - which should actually be in line 7 (inspecting variable \"i\")\r\n\r\n![screen_shot_2016-04-06_at_19 27 26](https://cloud.githubusercontent.com/assets/1868852/14326348/de9f7bf4-fc2d-11e5-8bfa-bc671028f11d.png)\r\n\r\nbuilded file was created with:\r\n`jspm build test.js test.builded.js --skip-rollup`\r\n\r\nI am using \"--skip-rollup\" because without it I got this error\r\n`err  Build output to umd requires the global name to be set.                                                                                               \r\n   Try adding --global-name test or setting --format amd `"},"comment":{"url":"https://api.github.com/repos/systemjs/builder/issues/comments/217096843","html_url":"https://github.com/systemjs/builder/issues/542#issuecomment-217096843","issue_url":"https://api.github.com/repos/systemjs/builder/issues/542","id":217096843,"user":{"login":"domagojk","id":1868852,"avatar_url":"https://avatars.githubusercontent.com/u/1868852?v=3","gravatar_id":"","url":"https://api.github.com/users/domagojk","html_url":"https://github.com/domagojk","followers_url":"https://api.github.com/users/domagojk/followers","following_url":"https://api.github.com/users/domagojk/following{/other_user}","gists_url":"https://api.github.com/users/domagojk/gists{/gist_id}","starred_url":"https://api.github.com/users/domagojk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domagojk/subscriptions","organizations_url":"https://api.github.com/users/domagojk/orgs","repos_url":"https://api.github.com/users/domagojk/repos","events_url":"https://api.github.com/users/domagojk/events{/privacy}","received_events_url":"https://api.github.com/users/domagojk/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T07:58:03Z","updated_at":"2016-05-05T07:58:03Z","body":"@guybedford thanks, it works now, but in my app, with linked repositories, source maps are now blank.\r\nI will try to reproduce this bug in simpler project..."}}