Skip to content

Commit

Permalink
fix(package.json): add default exports field (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
nd0ut authored Aug 24, 2022
1 parent 4f49d6c commit e9cf28f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/rest-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "4.3.0",
"description": "Library for work with Uploadcare Rest API",
"type": "module",
"main": "./dist/index.node.js",
"module": "./dist/index.node.js",
"browser": "./dist/index.browser.js",
"types": "./dist/types.d.ts",
"exports": {
".": {
"node": "./dist/index.node.js",
"browser": "./dist/index.browser.js"
"browser": "./dist/index.browser.js",
"default": "./dist/index.browser.js"
}
},
"sideEffects": false,
Expand Down
4 changes: 2 additions & 2 deletions packages/upload-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"version": "4.3.0",
"description": "Library for work with Uploadcare Upload API",
"type": "module",
"main": "./dist/index.node.js",
"module": "./dist/index.node.js",
"browser": "./dist/index.browser.js",
"react-native": "./dist/index.react-native.js",
"types": "./dist/types.d.ts",
"exports": {
".": {
"node": "./dist/index.node.js",
"browser": "./dist/index.browser.js"
"browser": "./dist/index.browser.js",
"default": "./dist/index.browser.js"
}
},
"sideEffects": false,
Expand Down

0 comments on commit e9cf28f

Please sign in to comment.