{"action":"opened","issue":{"url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/535","repository_url":"https://api.github.com/repos/zenorocha/clipboard.js","labels_url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/535/labels{/name}","comments_url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/535/comments","events_url":"https://api.github.com/repos/zenorocha/clipboard.js/issues/535/events","html_url":"https://github.com/zenorocha/clipboard.js/issues/535","id":305184588,"number":535,"title":"Packaging issue with Clipboard v2?","user":{"login":"jasonroelofs","id":3223,"avatar_url":"https://avatars0.githubusercontent.com/u/3223?v=4","gravatar_id":"","url":"https://api.github.com/users/jasonroelofs","html_url":"https://github.com/jasonroelofs","followers_url":"https://api.github.com/users/jasonroelofs/followers","following_url":"https://api.github.com/users/jasonroelofs/following{/other_user}","gists_url":"https://api.github.com/users/jasonroelofs/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonroelofs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonroelofs/subscriptions","organizations_url":"https://api.github.com/users/jasonroelofs/orgs","repos_url":"https://api.github.com/users/jasonroelofs/repos","events_url":"https://api.github.com/users/jasonroelofs/events{/privacy}","received_events_url":"https://api.github.com/users/jasonroelofs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-14T14:34:22Z","updated_at":"2018-03-14T14:34:22Z","closed_at":null,"author_association":"NONE","body":"### Minimal example\r\n\r\nNot sure how to show this via JSFiddle, but `dist/clipboard.js` is missing the `clipboard-action.js` module. The file `dist/clipboard.min.js` does correctly contain the module.\r\n\r\n### Expected behaviour\r\n\r\nCompilation succeeds with no issue.\r\n\r\n### Actual behaviour\r\n\r\nCompilation error when building my javascript, which uses the unminified `dist/clipboard.js`:\r\n\r\n```\r\nBrowserifyRails::BrowserifyError: Error while running `...`:\r\nevents.js:183\r\n      throw er; // Unhandled 'error' event\r\n      ^\r\nError: Cannot find module './clipboard-action' from '...'\r\n```\r\n"}}
{"actor":{"display_login":"jasonroelofs"}}