Closed marvinhagemeister closed 2 years ago
try to add ?deps
options
import { h, render } from "https://esm.sh/preact@10.11.2";
import { signal } from "https://esm.sh/@preact/signals@1.1.2?deps=preact@10.11.2";
or use import maps to point out the preact
specifier by adding the ?external=preact
query:
{
"imports": {
"preact": "https://esm.sh/preact@10.11.2",
"@preact/signals": "https://esm.sh/@preact/signals@1.1.2?external=preact"
}
}
Failing module
@preact/signals
Error message
No explicit error message as
esm.sh
loads two different copies of Preact instead oflatest
. For some reason the signals import loads Preact10.11.1
instead of the latest version10.11.2
.