{"action":"opened","issue":{"url":"https://api.github.com/repos/oliver-moran/jimp/issues/190","repository_url":"https://api.github.com/repos/oliver-moran/jimp","labels_url":"https://api.github.com/repos/oliver-moran/jimp/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/oliver-moran/jimp/issues/190/comments","events_url":"https://api.github.com/repos/oliver-moran/jimp/issues/190/events","html_url":"https://github.com/oliver-moran/jimp/issues/190","id":188010163,"number":190,"title":"(different) webpack issue","user":{"login":"bebbi","id":2752391,"avatar_url":"https://avatars.githubusercontent.com/u/2752391?v=3","gravatar_id":"","url":"https://api.github.com/users/bebbi","html_url":"https://github.com/bebbi","followers_url":"https://api.github.com/users/bebbi/followers","following_url":"https://api.github.com/users/bebbi/following{/other_user}","gists_url":"https://api.github.com/users/bebbi/gists{/gist_id}","starred_url":"https://api.github.com/users/bebbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebbi/subscriptions","organizations_url":"https://api.github.com/users/bebbi/orgs","repos_url":"https://api.github.com/users/bebbi/repos","events_url":"https://api.github.com/users/bebbi/events{/privacy}","received_events_url":"https://api.github.com/users/bebbi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-08T14:45:55Z","updated_at":"2016-11-08T14:45:55Z","closed_at":null,"body":"I have bundled jimp with webpack / ES6 / babel6.\r\nBut running it produces an error:\r\n\r\n```\r\nimport Jimp from 'jimp';\r\nJimp.read('pic.png', myCb);\r\n```\r\n\r\nbundles fine, but when running, the `Jimp.read()` statement produces\r\n\r\n`index.js:7 Uncaught (in promise) TypeError: fs.open is not a function`\r\n\r\nIt appears to use node-only modules to read the pic.\r\nMay be related to #75 but looks like a different error.\r\n"}}
{"actor":{"display_login":"bebbi"}}