From dc47c9387b8e53f88906a66c7c23bf91b475329a Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Thu, 8 Sep 2022 14:45:21 +0200 Subject: [PATCH] fix: rm trailing / in preact-rts import map entry (#722) --- src/dev/imports.ts | 2 +- www/import_map.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dev/imports.ts b/src/dev/imports.ts index 5aa40276..c621a31a 100644 --- a/src/dev/imports.ts +++ b/src/dev/imports.ts @@ -9,7 +9,7 @@ export function freshImports(imports: Record) { imports["preact"] = `https://esm.sh/preact@${RECOMMENDED_PREACT_VERSION}`; imports["preact/"] = `https://esm.sh/preact@${RECOMMENDED_PREACT_VERSION}/`; imports["preact-render-to-string"] = - `https://esm.sh/*preact-render-to-string@${RECOMMENDED_PREACT_RTS_VERSION}/`; + `https://esm.sh/*preact-render-to-string@${RECOMMENDED_PREACT_RTS_VERSION}`; imports["@preact/signals"] = `https://esm.sh/*@preact/signals@${RECOMMENDED_PREACT_SIGNALS_VERSION}`; imports["@preact/signals-core"] = diff --git a/www/import_map.json b/www/import_map.json index ea44f4e4..e5aa6947 100644 --- a/www/import_map.json +++ b/www/import_map.json @@ -7,7 +7,7 @@ "preact": "https://esm.sh/preact@10.10.6", "preact/": "https://esm.sh/preact@10.10.6/", - "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.3/", + "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.3", "@preact/signals": "https://esm.sh/*@preact/signals@1.0.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.0.1",