angular-umd-dynamic-example icon indicating copy to clipboard operation
angular-umd-dynamic-example copied to clipboard

Bundling Third-Party Dependencies In Library

Open collindutter opened this issue 5 years ago • 1 comments

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!

collindutter avatar Mar 13 '19 17:03 collindutter

I would also like to know how we can bundle third-party libraries into the library bundle and not into the consuming app.

jaichandra avatar Jul 01 '19 16:07 jaichandra