{"action":"closed","issue":{"url":"https://api.github.com/repos/sindresorhus/p-queue/issues/18","repository_url":"https://api.github.com/repos/sindresorhus/p-queue","labels_url":"https://api.github.com/repos/sindresorhus/p-queue/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/p-queue/issues/18/comments","events_url":"https://api.github.com/repos/sindresorhus/p-queue/issues/18/events","html_url":"https://github.com/sindresorhus/p-queue/issues/18","id":262012771,"number":18,"title":"Non-transpiled NPM module","user":{"login":"nixolas1","id":3536134,"avatar_url":"https://avatars2.githubusercontent.com/u/3536134?v=4","gravatar_id":"","url":"https://api.github.com/users/nixolas1","html_url":"https://github.com/nixolas1","followers_url":"https://api.github.com/users/nixolas1/followers","following_url":"https://api.github.com/users/nixolas1/following{/other_user}","gists_url":"https://api.github.com/users/nixolas1/gists{/gist_id}","starred_url":"https://api.github.com/users/nixolas1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nixolas1/subscriptions","organizations_url":"https://api.github.com/users/nixolas1/orgs","repos_url":"https://api.github.com/users/nixolas1/repos","events_url":"https://api.github.com/users/nixolas1/events{/privacy}","received_events_url":"https://api.github.com/users/nixolas1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-02T08:26:25Z","updated_at":"2017-10-02T08:28:25Z","closed_at":"2017-10-02T08:28:25Z","author_association":"NONE","body":"Hi, we encountered a new problem a little while ago, when our npm builds started failing with the following error: \r\n`ERROR in vendor.bundle.js from UglifyJs\r\nUnexpected token: name (first) [vendor.bundle.js:26373,5]`\r\n\r\nWhich we tracked to p-queue using es6 syntax in the distributed npm module. The current UglifyJS dosn't support ES6, and crashes, unless we specifically include p-queue to be babel-transpiled.\r\n\r\nA fix would be to distribute a transpiled \"ES5 modules\" version on NPM, which uses ES5 syntax, but has import statements intact."}}
{"actor":{"display_login":"SamVerschueren"}}