Skip to content

Commit

Permalink
Add 'main' key to package.json for support with older build tools (eg…
Browse files Browse the repository at this point in the history
…. metro bundler).
  • Loading branch information
alarner committed Jan 11, 2024
1 parent fad3b5d commit d88bd2d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/change-case/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"url": "http://blakeembrey.me"
},
"type": "module",
"main": "./dist/index.js",
"exports": {
".": "./dist/index.js",
"./keys": "./dist/keys.js"
Expand Down
1 change: 1 addition & 0 deletions packages/sponge-case/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"url": "http://rabins.dev"
},
"type": "module",
"main": "./dist/index.js",
"exports": {
".": "./dist/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/swap-case/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"url": "http://blakeembrey.me"
},
"type": "module",
"main": "./dist/index.js",
"exports": {
".": "./dist/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/title-case/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"url": "http://blakeembrey.me"
},
"type": "module",
"main": "./dist/index.js",
"exports": {
".": "./dist/index.js"
},
Expand Down

0 comments on commit d88bd2d

Please sign in to comment.