Is it not possible to us…

less than 1 minute read

Is it not possible to use external packages with nx and import them into a lib? all I get is this when using nx for react.

No name was provided for external module '@bit/mycomponent.name' in output.globals – guessing 'mycomponent_name'

Responses:

That should be totally possible. As far as I recognize this is a warning by the packager, but stuff should work fine as long as these ‘guessed’ names don’t conflict

These lines are printed in yellow right?

No it comes out as white.

for local development its fine, on a CI, it fails.

on an angular project, you can get away with updating ng-package.json’s umdModuleIds, but for React, it pukes.

Updated: