Uncaught SyntaxError: The requested module 'https://esm.sh/lit@2.0.0-rc.1' does not provide an export named 'LitElement'
I'm using (for a pinned version):
import { LitElement, html } from 'https://esm.sh/lit@2.0.0-rc.1';
and for an unpinned version:
import { LitElement, html } from 'https://esm.sh/lit';
i didn't(can't) test all packages since i built this for alephjs, in http://esm.sh/?test you can see some packages I focused on. i will look into it, thanks!
btw install.guide looks awesome, nice work
I'm making a comparison of module CDNs.
I have a series of test pages for module CDNs:
When I try esm.sh, I get a console error:
I'm using (for a pinned version):
import { LitElement, html } from 'https://esm.sh/lit@2.0.0-rc.1';
and for an unpinned version:import { LitElement, html } from 'https://esm.sh/lit';
I'm following the import syntax I saw at https://esm.sh/.
The page loads correctly with jspm.dev or Skypack module CDNs.
How do I make esm.sh work correctly? Am I making an error in my import syntax or is this a bug with esm.sh or esbuild?