{"action":"created","issue":{"url":"https://api.github.com/repos/wearefractal/gulp-concat/issues/77","labels_url":"https://api.github.com/repos/wearefractal/gulp-concat/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/wearefractal/gulp-concat/issues/77/comments","events_url":"https://api.github.com/repos/wearefractal/gulp-concat/issues/77/events","html_url":"https://github.com/wearefractal/gulp-concat/issues/77","id":54748281,"number":77,"title":"File reference in sourcemap mismatches file.path","user":{"login":"w0rm","id":43472,"avatar_url":"https://avatars.githubusercontent.com/u/43472?v=3","gravatar_id":"","url":"https://api.github.com/users/w0rm","html_url":"https://github.com/w0rm","followers_url":"https://api.github.com/users/w0rm/followers","following_url":"https://api.github.com/users/w0rm/following{/other_user}","gists_url":"https://api.github.com/users/w0rm/gists{/gist_id}","starred_url":"https://api.github.com/users/w0rm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w0rm/subscriptions","organizations_url":"https://api.github.com/users/w0rm/orgs","repos_url":"https://api.github.com/users/w0rm/repos","events_url":"https://api.github.com/users/w0rm/events{/privacy}","received_events_url":"https://api.github.com/users/w0rm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-19T10:36:20Z","updated_at":"2015-01-23T15:40:43Z","closed_at":null,"body":"Concatenation of three files inside ./src/ creates the following source map:\r\n\r\n```\r\n { version: 3,\r\n  sources: [ 'a.css', 'b.css', 'c.css' ],\r\n  names: [],\r\n  mappings: 'AAAA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA',\r\n  file: 'result-postcss.css',\r\n  sourcesContent: \r\n   [ '.a {\\n\\ttext-align: center;\\n}\\n',\r\n     '.b {\\n\\ttext-align: center;\\n}\\n',\r\n     '.c {\\n\\ttext-align: center;\\n}\\n' ] }\r\n```\r\n\r\nThe result vinyl file object has path similar to this: `/Users/username/path/to/gulp-postcss-sourcemaps-test/src/result-postcss.css` (note that it includes `src/`).\r\n\r\nI think that all file references in sourcemaps should include `src/` because otherwise you cannot combine this sourcemap with further modifications. \r\n\r\nPlease find more details here: https://github.com/w0rm/gulp-postcss/issues/18"},"comment":{"url":"https://api.github.com/repos/wearefractal/gulp-concat/issues/comments/71211460","html_url":"https://github.com/wearefractal/gulp-concat/issues/77#issuecomment-71211460","issue_url":"https://api.github.com/repos/wearefractal/gulp-concat/issues/77","id":71211460,"user":{"login":"floridoo","id":2198906,"avatar_url":"https://avatars.githubusercontent.com/u/2198906?v=3","gravatar_id":"","url":"https://api.github.com/users/floridoo","html_url":"https://github.com/floridoo","followers_url":"https://api.github.com/users/floridoo/followers","following_url":"https://api.github.com/users/floridoo/following{/other_user}","gists_url":"https://api.github.com/users/floridoo/gists{/gist_id}","starred_url":"https://api.github.com/users/floridoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floridoo/subscriptions","organizations_url":"https://api.github.com/users/floridoo/orgs","repos_url":"https://api.github.com/users/floridoo/repos","events_url":"https://api.github.com/users/floridoo/events{/privacy}","received_events_url":"https://api.github.com/users/floridoo/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T15:40:43Z","updated_at":"2015-01-23T15:40:43Z","body":"@w0rm do you mean the `file` property on the source map?\r\nIf yes: it contains just the file name of the result file, because `gulp-sourcemaps` doesn't know where you will output the file to (that's just specified in `gulp.dest()`). Afaik the `file` property is optional and not used by browsers."}}