solidjs / solid-refresh

MIT License
85 stars 18 forks source link

Any way to get this library working with a CDN like skypack? #21

Closed matt-way closed 2 years ago

matt-way commented 2 years ago

If I try and load solid-refresh from a CDN like skypack, it brings down a production solid-js dependency, rather than the necessary development equivalent. Would it be possible to load it in this way?

matt-way commented 2 years ago

In case anyone gets here, I ended up using esm.sh instead of skypack, appending ?dev to the requests urls, and everything started working! Skypack may have a similar feature, but im not sure.