{"action":"opened","issue":{"url":"https://api.github.com/repos/sindresorhus/hex-rgb/issues/4","repository_url":"https://api.github.com/repos/sindresorhus/hex-rgb","labels_url":"https://api.github.com/repos/sindresorhus/hex-rgb/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/hex-rgb/issues/4/comments","events_url":"https://api.github.com/repos/sindresorhus/hex-rgb/issues/4/events","html_url":"https://github.com/sindresorhus/hex-rgb/issues/4","id":309667491,"number":4,"title":"Not compatible with default webpack production build","user":{"login":"penx","id":1027024,"avatar_url":"https://avatars3.githubusercontent.com/u/1027024?v=4","gravatar_id":"","url":"https://api.github.com/users/penx","html_url":"https://github.com/penx","followers_url":"https://api.github.com/users/penx/followers","following_url":"https://api.github.com/users/penx/following{/other_user}","gists_url":"https://api.github.com/users/penx/gists{/gist_id}","starred_url":"https://api.github.com/users/penx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penx/subscriptions","organizations_url":"https://api.github.com/users/penx/orgs","repos_url":"https://api.github.com/users/penx/repos","events_url":"https://api.github.com/users/penx/events{/privacy}","received_events_url":"https://api.github.com/users/penx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-29T08:41:00Z","updated_at":"2018-03-29T08:41:00Z","closed_at":null,"author_association":"NONE","body":"If you have a module, index.js, that has hex-rgb as a dependency, and run the following:\r\n\r\n`webpack -p src/index.js --output-filename dist/index.js`\r\n\r\n(without any additional webpack config)\r\n\r\nThis will fail because the default webpack production settings uses Uglify2, which [does not support ES6 template strings](https://github.com/mishoo/UglifyJS2/issues/950).\r\n\r\nCould this module distribute a lib version that has been transpiled and is therefore compatible with uglify2/default webpack cli settings?"}}
{"actor":{"display_login":"penx"}}