{"action":"opened","issue":{"url":"https://api.github.com/repos/christianalfoni/react-webpack-cookbook/issues/60","labels_url":"https://api.github.com/repos/christianalfoni/react-webpack-cookbook/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/christianalfoni/react-webpack-cookbook/issues/60/comments","events_url":"https://api.github.com/repos/christianalfoni/react-webpack-cookbook/issues/60/events","html_url":"https://github.com/christianalfoni/react-webpack-cookbook/issues/60","id":119850806,"number":60,"title":"Example combining both sections in Authoring Libraries?","user":{"login":"saschwarz","id":184171,"avatar_url":"https://avatars.githubusercontent.com/u/184171?v=3","gravatar_id":"","url":"https://api.github.com/users/saschwarz","html_url":"https://github.com/saschwarz","followers_url":"https://api.github.com/users/saschwarz/followers","following_url":"https://api.github.com/users/saschwarz/following{/other_user}","gists_url":"https://api.github.com/users/saschwarz/gists{/gist_id}","starred_url":"https://api.github.com/users/saschwarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saschwarz/subscriptions","organizations_url":"https://api.github.com/users/saschwarz/orgs","repos_url":"https://api.github.com/users/saschwarz/repos","events_url":"https://api.github.com/users/saschwarz/events{/privacy}","received_events_url":"https://api.github.com/users/saschwarz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-02T02:04:44Z","updated_at":"2015-12-02T02:04:44Z","closed_at":null,"body":"As a new user one of the biggest challenges I find in using webpack is producing all the permutations of output in a single configuration. It would be great to see an example of a configuration that supports script and npm packaging of a library as is described using Browserify in this blog post:\r\nhttp://krasimirtsonev.com/blog/article/distributing-react-components-babel-browserify-webpack-uglifyjs\r\n\r\nThanks for this very helpful cookbook."}}