We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
jspm.dev
esm.sh
1 parent 1c85db6 commit 0bcaaacCopy full SHA for 0bcaaac
packages/solid-repl/src/components/repl.tsx
@@ -123,6 +123,10 @@ export const Repl: ReplProps = (props) => {
123
if (event === 'ROLLUP') {
124
const currentMap = { ...importMap() };
125
for (const file in currentMap) {
126
+ // Catch any `jspm.dev` URLs and migrate them to `esm.sh`
127
+ if (currentMap[file] === `https://jspm.dev/${file}`) {
128
+ currentMap[file] = `https://esm.sh/${file}`;
129
+ }
130
if (!(file in compiled) && currentMap[file] === `https://esm.sh/${file}`) {
131
delete currentMap[file];
132
}
0 commit comments