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.
Tom Eastham commented
Any news on roadmap dates yet?
Ronny Lewandowski commented
Good, you have this in Work. Are there any news about the timeline?
Mark Freeman commented
We are a large org with 70K users and we want to implement a common global library of reusable services such as logging, error handling, API's etc to be reused by multiple apps, web parts etc. This feature is in the critical path for us.
Tommy Vanhee commented
Would be a very welcome addition!
Pat Miller (MSFT) commented
Adding a pointer to a discussion on github - https://github.com/SharePoint/sp-dev-docs/issues/467
Looking forward to this feature. Would be great to understand how this is intended on being delivered and what scenarios it will support. Is there any chance of getting some further information on this enhancement to SPFx?
Vardhaman Deshpande commented
Also, it would be nice if we got the option to "build a library package" in the yeoman generator.