3 ms·
No, you might have one "global" importmap in your HTML file and that applies to the entire graph of modules you load after that, which also means that you can "
by WorldMaker 4y ago
No, you might have one "global" importmap in your HTML file and that applies to the entire graph of modules you load after that, which also means that you can "chain" importmaps and can also do things like pin the versions of dependencies of dependencies in that top level importmap. That sort of thing will need package-management-like tooling and dependency "packages" built for it, but that gets back to the idea that importmaps in theory are a lighter weight replacement for package.json/package-lock.json files.