Skip to content

Commit

Permalink
fix problem with package.json exports declaration for CommonJS
Browse files Browse the repository at this point in the history
  • Loading branch information
akphi committed Oct 14, 2022
1 parent ef1c48a commit 35b8ab0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion index.js
Expand Up @@ -28,5 +28,6 @@ export {
Cancel,
isAxiosError,
spread,
toFormData
toFormData,
axios
}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -6,7 +6,7 @@
"exports": {
".": {
"browser": {
"require": "./index.js",
"require": "./dist/node/axios.cjs",
"default": "./index.js"
},
"default": {
Expand Down

0 comments on commit 35b8ab0

Please sign in to comment.