Publishing Typescript 2.3 Modules to NPM for Angular 4 Consumption
问题 There are related instructions in Writing NPM modules in Typescript , however it's dated and there are now a lot of different answers which may or may not work for Angular. There's also a very good presentation by Jason Aden on youtube on how to publish Angular Components, but in this case I'm only interested in publishing vanilla typescript classes. 回答1: I finished a prototype for testing this out. I used code from this article - creating npm modules written in typescript and the rollup