diff --git a/src/ts/modules/rollup.ts b/src/ts/modules/rollup.ts index f7daa56..b10aca6 100644 --- a/src/ts/modules/rollup.ts +++ b/src/ts/modules/rollup.ts @@ -28,8 +28,9 @@ self.onmessage = ({ data }) => { if (importer == null) return; if (id.startsWith(".")) return; if (id.startsWith("https://")) return id; - - return `https://esm.sh/${id}`; + + // Use cdn.skypack.dev instead of esm.sh + return `https://cdn.skypack.dev/${id}`; } }), @@ -68,4 +69,4 @@ self.onmessage = ({ data }) => { }); } })(); -}; \ No newline at end of file +};