I am looking for a way to create angular 6 (by Angular 6 CLI may be) library with multiple modules that can be imported each one itself according developer`s needs.
Till now I found only tutorials that describe creating simple libraries with a couple components. And all of them must be imported by the library NgModule. But the goal is to be able import some of the modules to the production app without importing all other stuff (components etc.) from the library module.