angular-umd-dynamic-example
angular-umd-dynamic-example copied to clipboard
Bundling Third-Party Dependencies In Library
Thanks for the very useful repo! We're running into one issue though.
Is there a way we can configure this so that the base application doesn't need to know about the library's third-party dependencies? In this example, Clarity is installed in the base application, but is there a way to provide it in the library instead?
Following this issue https://github.com/ng-packagr/ng-packagr/issues/1231 I've gotten the library bundle to include the third party dependency, but I can't seem to load it in the base application.
Any suggestions? Thanks!
I would also like to know how we can bundle third-party libraries into the library bundle and not into the consuming app.