Skip to content
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

Support ESM for the styleguide.config.js file #2146

Open
a-maggi opened this issue Jun 11, 2023 · 0 comments
Open

Support ESM for the styleguide.config.js file #2146

a-maggi opened this issue Jun 11, 2023 · 0 comments

Comments

@a-maggi
Copy link

a-maggi commented Jun 11, 2023

The problem

The upcoming version of react-docgen will no longer support the require statement, as it is now completely written as an ESM (ECMAScript Modules) package. We need support to use ESM import for the styleguide.config.js file in order to accommodate use cases like this.

Additional context

We have already attempted to rename the file to the cjs extension, but it did not resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant