Add support for library packages in the SharePoint Framework
When building web parts I'd like to be able to extract common code to a separate library that can be shared amongst the different web parts.
Related issue on GitHub: https://github.com/SharePoint/sp-dev-docs/issues/467#issuecomment-284631927
Thanks for your feedback! Just a note to let you know that this is absolutely in our roadmap and we are planning to address this request in future. Good to have though also the vote counts, so that we understand the demand around the request, which helps on prioritizing our internal work.
Vardhaman Deshpande commented
Also, it would be nice if we got the option to "build a library package" in the yeoman generator.