Skip to content

Commit 1c85db6

Browse files
Tommypop2Milo
authored andcommitted
switch back to esm.sh from jspm.dev
closes #163
1 parent 4b0868f commit 1c85db6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/solid-repl/repl/compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function transformImportee(fileName: string) {
8686
}
8787
if (fileName.includes('://')) return fileName;
8888
else {
89-
dataToReturn[fileName] = `https://jspm.dev/${fileName}`;
89+
dataToReturn[fileName] = `https://esm.sh/${fileName}`;
9090
return fileName;
9191
}
9292
}

packages/solid-repl/src/components/repl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export const Repl: ReplProps = (props) => {
123123
if (event === 'ROLLUP') {
124124
const currentMap = { ...importMap() };
125125
for (const file in currentMap) {
126-
if (!(file in compiled) && currentMap[file] === `https://jspm.dev/${file}`) {
126+
if (!(file in compiled) && currentMap[file] === `https://esm.sh/${file}`) {
127127
delete currentMap[file];
128128
}
129129
}

0 commit comments

Comments
 (0)