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

fix(index): add create to index exports #6460

Open
wants to merge 1 commit into
base: v1.x
Choose a base branch
from

Conversation

FLNacif
Copy link

@FLNacif FLNacif commented Jun 20, 2024

Add create to exports in index.js.

As create is being added to the default export in a different way from the other properties, seems like it has been fogotten.
https://github.com/axios/axios/blob/v1.x/lib/axios.js#L39

We are having an issue in our project, that for some reason undiscovered yet, create is not available through default export after bundle.

Obs.: The test added do not fail in case of not being exported, as I am not sure why the problem is caused, I am not sure how to test it the best way.

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

Successfully merging this pull request may close these issues.

None yet

1 participant