I have a Nx workspace and want to build two npm packages: one for React and one for Angular. Both using some shared code.
The structure is like this:
- lib
- core
- react-lib
- angular-lib
If I make the core library publishable and want to publish angular-lib to npm I need to publish the core package as well, which I don't want.
If the core is not publishable I get the File xxx.ts is not under 'rootDir'
Does anyone know if its possible to create an angular-lib package with the used code of the data lib included?
Here the code