{"action":"created","issue":{"url":"https://api.github.com/repos/webcomponents/webcomponentsjs/issues/947","repository_url":"https://api.github.com/repos/webcomponents/webcomponentsjs","labels_url":"https://api.github.com/repos/webcomponents/webcomponentsjs/issues/947/labels{/name}","comments_url":"https://api.github.com/repos/webcomponents/webcomponentsjs/issues/947/comments","events_url":"https://api.github.com/repos/webcomponents/webcomponentsjs/issues/947/events","html_url":"https://github.com/webcomponents/webcomponentsjs/issues/947","id":331778553,"node_id":"MDU6SXNzdWUzMzE3Nzg1NTM=","number":947,"title":"sourcemaps point to incorrect paths","user":{"login":"coreyfarrell","id":903597,"node_id":"MDQ6VXNlcjkwMzU5Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/903597?v=4","gravatar_id":"","url":"https://api.github.com/users/coreyfarrell","html_url":"https://github.com/coreyfarrell","followers_url":"https://api.github.com/users/coreyfarrell/followers","following_url":"https://api.github.com/users/coreyfarrell/following{/other_user}","gists_url":"https://api.github.com/users/coreyfarrell/gists{/gist_id}","starred_url":"https://api.github.com/users/coreyfarrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreyfarrell/subscriptions","organizations_url":"https://api.github.com/users/coreyfarrell/orgs","repos_url":"https://api.github.com/users/coreyfarrell/repos","events_url":"https://api.github.com/users/coreyfarrell/events{/privacy}","received_events_url":"https://api.github.com/users/coreyfarrell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-12T22:36:43Z","updated_at":"2018-06-16T13:55:35Z","closed_at":null,"author_association":"NONE","body":"sourcemaps in this repo point to incorrect paths in `sources`.  For example the first source mentioned webcomponents-ce.js.map is `\"node_modules/@webcomponents/custom-elements/src/Utilities.js\"`.  This is incorrect, it should say `\"../component-elements/src/Utilities.js\"`.  In theory this could be fixed with the `sourcemaps.mapSources` function.  I'm unable to submit a PR as I cannot get 'npm run build' to work on my system (even without making any change)."},"comment":{"url":"https://api.github.com/repos/webcomponents/webcomponentsjs/issues/comments/397813697","html_url":"https://github.com/webcomponents/webcomponentsjs/issues/947#issuecomment-397813697","issue_url":"https://api.github.com/repos/webcomponents/webcomponentsjs/issues/947","id":397813697,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzgxMzY5Nw==","user":{"login":"TimvdLippe","id":5948271,"node_id":"MDQ6VXNlcjU5NDgyNzE=","avatar_url":"https://avatars3.githubusercontent.com/u/5948271?v=4","gravatar_id":"","url":"https://api.github.com/users/TimvdLippe","html_url":"https://github.com/TimvdLippe","followers_url":"https://api.github.com/users/TimvdLippe/followers","following_url":"https://api.github.com/users/TimvdLippe/following{/other_user}","gists_url":"https://api.github.com/users/TimvdLippe/gists{/gist_id}","starred_url":"https://api.github.com/users/TimvdLippe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimvdLippe/subscriptions","organizations_url":"https://api.github.com/users/TimvdLippe/orgs","repos_url":"https://api.github.com/users/TimvdLippe/repos","events_url":"https://api.github.com/users/TimvdLippe/events{/privacy}","received_events_url":"https://api.github.com/users/TimvdLippe/received_events","type":"User","site_admin":false},"created_at":"2018-06-16T13:55:35Z","updated_at":"2018-06-16T13:55:35Z","author_association":"CONTRIBUTOR","body":"I think the root issue is that the individual polyfills are not shipped together on this repo. The files therefore link to files that do not exist at all, no matter if you reference them as `../` or as `node_modules`. Not sure how to resolve that situation, other than making the polyfills dependencies and lock their version to make sure the sourcemap references remain valid, even across version upgrades."}}
{"actor":{"display_login":"TimvdLippe"}}