{"action":"opened","issue":{"url":"https://api.github.com/repos/sass/node-sass/issues/1045","labels_url":"https://api.github.com/repos/sass/node-sass/issues/1045/labels{/name}","comments_url":"https://api.github.com/repos/sass/node-sass/issues/1045/comments","events_url":"https://api.github.com/repos/sass/node-sass/issues/1045/events","html_url":"https://github.com/sass/node-sass/issues/1045","id":97104981,"number":1045,"title":"An empty sourcesContent array is added to the source map even if --source-map-contents is not used when compiling","user":{"login":"DJDavid98","id":3200580,"avatar_url":"https://avatars.githubusercontent.com/u/3200580?v=3","gravatar_id":"","url":"https://api.github.com/users/DJDavid98","html_url":"https://github.com/DJDavid98","followers_url":"https://api.github.com/users/DJDavid98/followers","following_url":"https://api.github.com/users/DJDavid98/following{/other_user}","gists_url":"https://api.github.com/users/DJDavid98/gists{/gist_id}","starred_url":"https://api.github.com/users/DJDavid98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DJDavid98/subscriptions","organizations_url":"https://api.github.com/users/DJDavid98/orgs","repos_url":"https://api.github.com/users/DJDavid98/repos","events_url":"https://api.github.com/users/DJDavid98/events{/privacy}","received_events_url":"https://api.github.com/users/DJDavid98/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-24T18:03:18Z","updated_at":"2015-07-24T18:03:18Z","closed_at":null,"body":"Exporting using the following command line:\r\n\r\n    node-sass --source-map=. --output-style=compressed --output=css theme.scss theme.min.css\r\n\r\nresults in a map file that looks like\r\n\r\n\t{\r\n\t\t\"version\": 3,\r\n\t\t\"file\": \"theme.min.css\",\r\n\t\t\"sources\": [\r\n\t\t\t\"theme.scss\"\r\n\t\t],\r\n\t\t\"sourcesContent\": [],\r\n\t\t\"mappings\": \"<mappings stripped>\",\r\n\t\t\"names\": []\r\n\t}\r\n\r\nIt's unnecessary to have `sourcesContent` set as an empty array, it should be omitted instead. Furthermore, it breaks the source-map-visualization utitlity, I opened an issue on that project as well (sokra/source-map-visualization#12)."}}