The decision is too complicated. The teams that create these JS libraries must place the node behind the URL. Teams must put this URL, and eTag caching must be enabled in these packages so that users always have the latest version. If a new version of the package is being deployed, http / 1 clients should automatically reload the package.
Users must place the URL or mechanism with json files themselves, where the information is in json files (for example, the manifest).
Application developers can get the d.ts file through npm, which contains all the typifications of the framework library. They will not need to import modules because it is a remote URL. This way, you do not need to import anything, because it ensures that the script tags reference the library.
stephan.peters
source share