{"action":"created","issue":{"url":"https://api.github.com/repos/datalust/bunyan-seq/issues/5","repository_url":"https://api.github.com/repos/datalust/bunyan-seq","labels_url":"https://api.github.com/repos/datalust/bunyan-seq/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/datalust/bunyan-seq/issues/5/comments","events_url":"https://api.github.com/repos/datalust/bunyan-seq/issues/5/events","html_url":"https://github.com/datalust/bunyan-seq/issues/5","id":176238865,"number":5,"title":"Electron - Uglify Issues","user":{"login":"raybooysen","id":461957,"avatar_url":"https://avatars.githubusercontent.com/u/461957?v=3","gravatar_id":"","url":"https://api.github.com/users/raybooysen","html_url":"https://github.com/raybooysen","followers_url":"https://api.github.com/users/raybooysen/followers","following_url":"https://api.github.com/users/raybooysen/following{/other_user}","gists_url":"https://api.github.com/users/raybooysen/gists{/gist_id}","starred_url":"https://api.github.com/users/raybooysen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raybooysen/subscriptions","organizations_url":"https://api.github.com/users/raybooysen/orgs","repos_url":"https://api.github.com/users/raybooysen/repos","events_url":"https://api.github.com/users/raybooysen/events{/privacy}","received_events_url":"https://api.github.com/users/raybooysen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-11T11:13:31Z","updated_at":"2016-09-12T07:10:12Z","closed_at":"2016-09-11T11:15:54Z","body":"Hi there\r\n\r\nWe're using bunyan and bunyan-seq in an electron renderer process (a Chromium browser window).  Since this is electron, we are able to access node APIs.  However, to reduce bundle sizes, we are Ugilfying.\r\n\r\nHowever, we're tripped up in this library as it, and rightfully so, uses ES6 constructs like `let`.  This means that UgilfyJS doesn't work as it doesn't support ES6 yet.\r\n\r\nI was wondering if anyone had some ideas, I'm not convinced this library should change because of other tool's deficiencies."},"comment":{"url":"https://api.github.com/repos/datalust/bunyan-seq/issues/comments/246265905","html_url":"https://github.com/datalust/bunyan-seq/issues/5#issuecomment-246265905","issue_url":"https://api.github.com/repos/datalust/bunyan-seq/issues/5","id":246265905,"user":{"login":"nblumhardt","id":342712,"avatar_url":"https://avatars.githubusercontent.com/u/342712?v=3","gravatar_id":"","url":"https://api.github.com/users/nblumhardt","html_url":"https://github.com/nblumhardt","followers_url":"https://api.github.com/users/nblumhardt/followers","following_url":"https://api.github.com/users/nblumhardt/following{/other_user}","gists_url":"https://api.github.com/users/nblumhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/nblumhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nblumhardt/subscriptions","organizations_url":"https://api.github.com/users/nblumhardt/orgs","repos_url":"https://api.github.com/users/nblumhardt/repos","events_url":"https://api.github.com/users/nblumhardt/events{/privacy}","received_events_url":"https://api.github.com/users/nblumhardt/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T07:10:12Z","updated_at":"2016-09-12T07:10:12Z","body":"Thanks for the follow-up. It'd be interesting to hear where you land - I haven't tried uglifying ES6 directly yet, would an intermediate transpilation step using something like Babel work for you? Cheers!"}}
{"actor":{"display_login":"nblumhardt"}}