Closed ryan-roemer closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
spectacle-docs-website | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 16, 2023 11:51pm |
STATUS: Hold up. Something's rebroken with that prism import...
Oh, haha -- we need to publish my fix first for a preview to work. All good to review @carloskelly13 @gksander !
Hitting the local mjs build reveals your theme fix works!
Hey! What do you know?
importmap
s now mostly work! Which means we can update our browser one-page version to use just ESM.Fixes:
react-syntax-highligher
import behavior to better accommodate both CJS and ESM.Notes:
requirejs
-in-dev-mode slow! 🐢react*
libs of course don't have ESM versions. And lots of other libraries don't play nice. So instead we use esm.sh which adjusts for ESM thingsFuture notes: