payload: {"action":"created","issue":{"url":"https://api.github.com/repos/ddnexus/pagy/issues/128","repository_url":"https://api.github.com/repos/ddnexus/pagy","labels_url":"https://api.github.com/repos/ddnexus/pagy/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/ddnexus/pagy/issues/128/comments","events_url":"https://api.github.com/repos/ddnexus/pagy/issues/128/events","html_url":"https://github.com/ddnexus/pagy/issues/128","id":411676677,"node_id":"MDU6SXNzdWU0MTE2NzY2Nzc=","number":128,"title":"Webpacker integration","user":{"login":"cseelus","id":3188392,"node_id":"MDQ6VXNlcjMxODgzOTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3188392?v=4","gravatar_id":"","url":"https://api.github.com/users/cseelus","html_url":"https://github.com/cseelus","followers_url":"https://api.github.com/users/cseelus/followers","following_url":"https://api.github.com/users/cseelus/following{/other_user}","gists_url":"https://api.github.com/users/cseelus/gists{/gist_id}","starred_url":"https://api.github.com/users/cseelus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cseelus/subscriptions","organizations_url":"https://api.github.com/users/cseelus/orgs","repos_url":"https://api.github.com/users/cseelus/repos","events_url":"https://api.github.com/users/cseelus/events{/privacy}","received_events_url":"https://api.github.com/users/cseelus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-02-18T22:58:46Z","updated_at":"2019-02-19T01:25:18Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Now that Rails is gradually switching away from Sprockets and moving to Webpack (as everyone seems to do these days …), is there a way Pagy can and will support this?\r\n\r\nOne way to go would be a separate NPM module for Pagy, though there might be better ways to pull this off."},"comment":{"url":"https://api.github.com/repos/ddnexus/pagy/issues/comments/464941603","html_url":"https://github.com/ddnexus/pagy/issues/128#issuecomment-464941603","issue_url":"https://api.github.com/repos/ddnexus/pagy/issues/128","id":464941603,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2NDk0MTYwMw==","user":{"login":"ddnexus","id":100721,"node_id":"MDQ6VXNlcjEwMDcyMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/100721?v=4","gravatar_id":"","url":"https://api.github.com/users/ddnexus","html_url":"https://github.com/ddnexus","followers_url":"https://api.github.com/users/ddnexus/followers","following_url":"https://api.github.com/users/ddnexus/following{/other_user}","gists_url":"https://api.github.com/users/ddnexus/gists{/gist_id}","starred_url":"https://api.github.com/users/ddnexus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddnexus/subscriptions","organizations_url":"https://api.github.com/users/ddnexus/orgs","repos_url":"https://api.github.com/users/ddnexus/repos","events_url":"https://api.github.com/users/ddnexus/events{/privacy}","received_events_url":"https://api.github.com/users/ddnexus/received_events","type":"User","site_admin":false},"created_at":"2019-02-19T01:25:18Z","updated_at":"2019-02-19T01:25:18Z","author_association":"OWNER","body":"Hi Chris,\r\nI am currently working on many very old apps, that's one of the reason [pagy 2](https://github.com/ddnexus/pagy/tree/v2.0-dev)  will be ruby 1.9+ compatible)... and I am not very up-do-date with the webpacker gem.\r\n\r\nI would really like to use a simpler mechanism to include `pagy.js`, than creating a NPM package, which doesn't make so much sense for a 99% ruby project with little support from classic/compatible/old javascript... not to mention that it would require to maintain 2 packages.\r\n\r\nIsn't there any helper for `webpacker` to just import the javascript file form a local path? We have the `pagy.js` in `Pagy.root.join('javascripts', 'pagy.rb'). Cannot we directly include that path?"}}
other: {"actor":{"display_login":"ddnexus"}}