LinkedSoftwareDependencies / Components.js

🧩 A semantic dependency injection framework
https://componentsjs.readthedocs.io/
Other
41 stars 6 forks source link

Throw error when import is not found #14

Closed pheyvaer closed 3 years ago

pheyvaer commented 5 years ago

It would be good to throw an error when an import is not found. At the moment it looks like imports that are not found are silently ignored.

rubensworks commented 3 years ago

Just looked into this again, and it looks like we are already doing this.

Perhaps the problem here was that the import keyword was used incorrectly, maybe without the proper context ("https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^3.0.0/components/context.jsonld")