-
Couldn't load subscription status.
- Fork 699
One-page: Pure ESM #1277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One-page: Pure ESM #1277
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
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 ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. We're going to have to keep the React versions inline. I wonder if a future version can fill in a unified React version number for both the import, React DOM, and all the libraries that do a dep on it.

Hey! What do you know?
importmaps now mostly work! Which means we can update our browser one-page version to use just ESM.Fixes:
react-syntax-highligherimport 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: