Closed Hocdoc closed 10 months ago
It should work. Otherwise it's a bug in esmsh
Hm does the link https://esm.sh/@wooorm/starry-night@3.0.0/style/both really work for you? But maybe I just don't understand how esm.sh should work here.
It should work according to the export map in the package.json. I haven’t tested whether it works with esmsh, clicking that link 404s for me right now. esmsh should work with export maps, it does otherwise, so it should for css too
Add file extension to CSS link.
The link https://esm.sh/@wooorm/starry-night@3.0.0/style/both doesn't work for me (
Module not found
), but https://esm.sh/@wooorm/starry-night@3.0.0/style/both.css works.