I'm trying to migrate an Angular app to a shared codebase with Nativescript using the new @nativescript/schematics
, however, I'm having problems importing my Angular library when building the mobile version of the app. I used the angular-cli to create the library (ng generate library
).
For the web version, all I had to do was build the library separately using ng build library-name
which then allowed me to import it into the main application.
How can I build a mobile version of the library that can be imported into the main application when running tns run ios --bundle
? I've already migrated the components and module of the library with appropriate *.tns files.
Any help is appreciated