survivejs / webpack-book

From apprentice to master (CC BY-NC-ND)
https://survivejs.com/webpack/
2.42k stars 319 forks source link

Example combining both sections in Authoring Libraries? #60

Closed saschwarz closed 8 years ago

saschwarz commented 8 years ago

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: http://krasimirtsonev.com/blog/article/distributing-react-components-babel-browserify-webpack-uglifyjs

Thanks for this very helpful cookbook.

bebraw commented 8 years ago

Could you have a look at Authoring Packages and see if that's close enough now?

bebraw commented 8 years ago

I'm going to close this now. If this gets relevant again, please poke.