Support for ESM modules #6647
Replies: 5 comments 3 replies
This comment has been hidden.
This comment has been hidden.
-
@loklaan we will support this eventually. Hope this helps 🙂 |
Beta Was this translation helpful? Give feedback.
-
Is there a rough ETA on when keystonejs can support ESM? I am evaluating it for a new project and I have a few months before it hits production. Some of my dependencies are ESM-only. |
Beta Was this translation helpful? Give feedback.
-
@dcousens could we get the current on this topic? What would it take to make keystone compatible for both ESM and CJS? |
Beta Was this translation helpful? Give feedback.
-
Very much looking forward to ESM support. I have a few dependencies that I'm unable to upgrade because they've gone ESM only. |
Beta Was this translation helpful? Give feedback.
-
Hey folks!
It looks like some commonly used packages (read: Sindres Sorhus's pkgs) are recently making the switch to ESM-only exports, and at the moment they won't work with the keystone cli, since under the hood isn't setup for that.
I'd wager the Keystone team have a plan here, since the forward-incompatibility is a big looming issue for most kinds of JS project, but I'd like put a bookmark on the topic here!
I've been tracking similar discussions across:
This was a question I asked originally in Slack, but afterwards I thought it would be nice to track this discussion in Github. Thanks again @raveling for the quick response there! 👋
Beta Was this translation helpful? Give feedback.
All reactions