Skip to content
Michael Potter edited this page Jan 16, 2023 · 1 revision

JSPM is a third-party CDN that we use to reference our JS files that are published on NPM (à la unpkg.com). What differentiates JSPM from others is how it uses import maps to specify the location of dependencies. While unpkg.com and others transform bare import specifiers to relative imports using an on the fly build step, JSPM relies on an import map generator which RHDS uses to create custom import maps for each demo page.

Debugging

There is an incorrect version in a package

In cases where we need to "pin" or override certain dependencies in a published version of RHDS we can request an override with JSPM. This should only be done if we can't easily fix this locally in RHDS.

https://github.com/jspm/overrides