Builds an import map from a list of bare specifiers, pinning each package to a
CDN (esm.sh by default) at the version declared in package.json when known.
Each package gets a bare entry ("lit") and a trailing-slash prefix entry
("lit/") so both import 'lit' and import 'lit/decorators.js' resolve.
Builds an import map from a list of bare specifiers, pinning each package to a CDN (esm.sh by default) at the version declared in
package.jsonwhen known. Each package gets a bare entry ("lit") and a trailing-slash prefix entry ("lit/") so bothimport 'lit'andimport 'lit/decorators.js'resolve.