{"action":"created","issue":{"url":"https://api.github.com/repos/rollup/rollup-plugin-json/issues/19","repository_url":"https://api.github.com/repos/rollup/rollup-plugin-json","labels_url":"https://api.github.com/repos/rollup/rollup-plugin-json/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/rollup/rollup-plugin-json/issues/19/comments","events_url":"https://api.github.com/repos/rollup/rollup-plugin-json/issues/19/events","html_url":"https://github.com/rollup/rollup-plugin-json/issues/19","id":195431944,"number":19,"title":"json files with no validKeys incompatible with rollup 0.37.0","user":{"login":"btakita","id":3664,"avatar_url":"https://avatars.githubusercontent.com/u/3664?v=3","gravatar_id":"","url":"https://api.github.com/users/btakita","html_url":"https://github.com/btakita","followers_url":"https://api.github.com/users/btakita/followers","following_url":"https://api.github.com/users/btakita/following{/other_user}","gists_url":"https://api.github.com/users/btakita/gists{/gist_id}","starred_url":"https://api.github.com/users/btakita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btakita/subscriptions","organizations_url":"https://api.github.com/users/btakita/orgs","repos_url":"https://api.github.com/users/btakita/repos","events_url":"https://api.github.com/users/btakita/events{/privacy}","received_events_url":"https://api.github.com/users/btakita/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-14T03:33:25Z","updated_at":"2016-12-15T16:00:04Z","closed_at":null,"body":"ExportDefaultDeclaration expects export default to be at the beginning of the string.\r\n\r\nhttps://github.com/rollup/rollup/blob/8466b4ce56415f27687842b3177138929efee62c/src/ast/nodes/ExportDefaultDeclaration.js#L56\r\n\r\nEither we need to `.trim()` the string or guard against `namedExports` being empty causing an empty first line at:\r\n\r\nhttps://github.com/rollup/rollup-plugin-json/blob/master/src/index.js#L147\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rollup/rollup-plugin-json/issues/comments/267364589","html_url":"https://github.com/rollup/rollup-plugin-json/issues/19#issuecomment-267364589","issue_url":"https://api.github.com/repos/rollup/rollup-plugin-json/issues/19","id":267364589,"user":{"login":"btakita","id":3664,"avatar_url":"https://avatars.githubusercontent.com/u/3664?v=3","gravatar_id":"","url":"https://api.github.com/users/btakita","html_url":"https://github.com/btakita","followers_url":"https://api.github.com/users/btakita/followers","following_url":"https://api.github.com/users/btakita/following{/other_user}","gists_url":"https://api.github.com/users/btakita/gists{/gist_id}","starred_url":"https://api.github.com/users/btakita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btakita/subscriptions","organizations_url":"https://api.github.com/users/btakita/orgs","repos_url":"https://api.github.com/users/btakita/repos","events_url":"https://api.github.com/users/btakita/events{/privacy}","received_events_url":"https://api.github.com/users/btakita/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T16:00:04Z","updated_at":"2016-12-15T16:00:04Z","body":"That works for me."}}
{"actor":{"display_login":"btakita"}}