Closed kodeFant closed 2 years ago
Oh, god I feel dumb. It was as simple as replacing
import preactCompat from "https://cdn.skypack.dev/preact-compat";
with
import preactCompat from "https://cdn.skypack.dev/preact/compat";
As you stated in your readme.
Hi!
I wish to run
preact-compat
on the browser without a bundler with the help ofhtm
.Both React and Preact works fine with skypack packages, but I can't seem to get
preact-compat
working. Is this possible in some way without a bundler? Using specifically Skypack is not a hard requirement.The reason I want this, is because I want to also use React-specific libraries that won't work with Preact.
I was not sure if
htm
orpreact-compat
is the correct repo to address, so forgive and correct me if this wasn't the right one to address :)Here is a reproducible example. It just fails silently.