-
Notifications
You must be signed in to change notification settings - Fork 168
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
Make Fractal support ES modules #1024
Labels
Comments
Can you create a minimal repo that shows this issue? Not sure I can understand what is going on here otherwise. We currently still support Node 10 (will drop once some other work is completed), so can't move to ESM ourselves just yet but there should be some level of cross-compatibility I believe. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem would this feature solve?
Currently, it doesn't seem to be possible to use ES modules in the project that is used as the Fractal components library. However, at least repositories from sindresorhus are forcing a migration, see this.
What the feature should look like?
Currently, when the Components Library uses
"type": "module"
in package.json, the following error will be thrown by Node.js (v14+):The text was updated successfully, but these errors were encountered: