{"action":"created","issue":{"url":"https://api.github.com/repos/rollup/rollup/issues/338","labels_url":"https://api.github.com/repos/rollup/rollup/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/rollup/rollup/issues/338/comments","events_url":"https://api.github.com/repos/rollup/rollup/issues/338/events","html_url":"https://github.com/rollup/rollup/issues/338","id":119843837,"number":338,"title":"Webpack / Browserify integration","user":{"login":"franleplant","id":1852455,"avatar_url":"https://avatars.githubusercontent.com/u/1852455?v=3","gravatar_id":"","url":"https://api.github.com/users/franleplant","html_url":"https://github.com/franleplant","followers_url":"https://api.github.com/users/franleplant/followers","following_url":"https://api.github.com/users/franleplant/following{/other_user}","gists_url":"https://api.github.com/users/franleplant/gists{/gist_id}","starred_url":"https://api.github.com/users/franleplant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franleplant/subscriptions","organizations_url":"https://api.github.com/users/franleplant/orgs","repos_url":"https://api.github.com/users/franleplant/repos","events_url":"https://api.github.com/users/franleplant/events{/privacy}","received_events_url":"https://api.github.com/users/franleplant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-02T01:01:02Z","updated_at":"2015-12-03T01:24:48Z","closed_at":null,"body":"Hi!\r\n    First of all let me tell you that is module is **awesome** thanks a lot for your work!\r\nThe second thing I thought after reading about it was:\r\n\r\n> Can I integrate this to my existing Webpack build?\r\n\r\nSo, can this be integrated to Webpack or Browserify existing builds? It'll be amazing!\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/rollup/rollup/issues/comments/161486472","html_url":"https://github.com/rollup/rollup/issues/338#issuecomment-161486472","issue_url":"https://api.github.com/repos/rollup/rollup/issues/338","id":161486472,"user":{"login":"mstade","id":605731,"avatar_url":"https://avatars.githubusercontent.com/u/605731?v=3","gravatar_id":"","url":"https://api.github.com/users/mstade","html_url":"https://github.com/mstade","followers_url":"https://api.github.com/users/mstade/followers","following_url":"https://api.github.com/users/mstade/following{/other_user}","gists_url":"https://api.github.com/users/mstade/gists{/gist_id}","starred_url":"https://api.github.com/users/mstade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstade/subscriptions","organizations_url":"https://api.github.com/users/mstade/orgs","repos_url":"https://api.github.com/users/mstade/repos","events_url":"https://api.github.com/users/mstade/events{/privacy}","received_events_url":"https://api.github.com/users/mstade/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T01:24:48Z","updated_at":"2015-12-03T01:24:48Z","body":"Seems a bit odd to integrate a linker with another linker, no? :o)\r\n\r\nAnyway, what I do is to use rollup as a pre-compile step, something like so:\r\n\r\n```sh\r\nrollup in.js | babel --presets 2015 > out.js\r\n```\r\n\r\nSubstitute `babel --presets 2015` in that flow with `browserify -t babelify` and you might achieve the same. Certainly, you could probably write a webpack plugin or browserify transform to achieve the same, if there isn't one already."}}