{"action":"created","issue":{"url":"https://api.github.com/repos/makeusabrew/bootbox/issues/626","repository_url":"https://api.github.com/repos/makeusabrew/bootbox","labels_url":"https://api.github.com/repos/makeusabrew/bootbox/issues/626/labels{/name}","comments_url":"https://api.github.com/repos/makeusabrew/bootbox/issues/626/comments","events_url":"https://api.github.com/repos/makeusabrew/bootbox/issues/626/events","html_url":"https://github.com/makeusabrew/bootbox/issues/626","id":260113163,"number":626,"title":"Webpack Compatibility","user":{"login":"mvastola","id":599767,"avatar_url":"https://avatars0.githubusercontent.com/u/599767?v=4","gravatar_id":"","url":"https://api.github.com/users/mvastola","html_url":"https://github.com/mvastola","followers_url":"https://api.github.com/users/mvastola/followers","following_url":"https://api.github.com/users/mvastola/following{/other_user}","gists_url":"https://api.github.com/users/mvastola/gists{/gist_id}","starred_url":"https://api.github.com/users/mvastola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvastola/subscriptions","organizations_url":"https://api.github.com/users/mvastola/orgs","repos_url":"https://api.github.com/users/mvastola/repos","events_url":"https://api.github.com/users/mvastola/events{/privacy}","received_events_url":"https://api.github.com/users/mvastola/received_events","type":"User","site_admin":false},"labels":[{"id":88830530,"url":"https://api.github.com/repos/makeusabrew/bootbox/labels/Bug?","name":"Bug?","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-09-24T20:22:57Z","updated_at":"2018-02-09T01:05:25Z","closed_at":null,"author_association":"NONE","body":"This may be the same issue as #507, but I'm not sure. I'm not able to directly use `bootbox` with webpacker/yarn. When I use the command `import 'bootbox'`, there are no errors, but in the javascript console of the webpage, I get the error, `bootbox is not defined`. \r\n\r\nThe only way I'm able to work around this is to instead use `import '../contrib/bootbox-setup'`, where `contrib/bootbox-setup.js` is a script of my own making containing just the line `window.bootbox = require('bootbox');`.\r\n\r\nI am happy to provide any additional information needed to help identify/troubleshoot the source of this issue. Please let me know."},"comment":{"url":"https://api.github.com/repos/makeusabrew/bootbox/issues/comments/364302442","html_url":"https://github.com/makeusabrew/bootbox/issues/626#issuecomment-364302442","issue_url":"https://api.github.com/repos/makeusabrew/bootbox/issues/626","id":364302442,"user":{"login":"tiesont","id":420293,"avatar_url":"https://avatars2.githubusercontent.com/u/420293?v=4","gravatar_id":"","url":"https://api.github.com/users/tiesont","html_url":"https://github.com/tiesont","followers_url":"https://api.github.com/users/tiesont/followers","following_url":"https://api.github.com/users/tiesont/following{/other_user}","gists_url":"https://api.github.com/users/tiesont/gists{/gist_id}","starred_url":"https://api.github.com/users/tiesont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiesont/subscriptions","organizations_url":"https://api.github.com/users/tiesont/orgs","repos_url":"https://api.github.com/users/tiesont/repos","events_url":"https://api.github.com/users/tiesont/events{/privacy}","received_events_url":"https://api.github.com/users/tiesont/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T01:05:25Z","updated_at":"2018-02-09T01:05:25Z","author_association":"COLLABORATOR","body":"@RyanReedUSE That would make sense, since at it's core Bootbox is nothing but a wrapper around Bootstrap's modal function. @mvastola if you're still trying to make this work, does @RyanReedUSE's comment work for you?"}}
{"actor":{"display_login":"tiesont"}}