Skip to content

Commit

Permalink
fix: support require to internal files without explicitly writing `…
Browse files Browse the repository at this point in the history
….js` in the path

Closes typeorm#8656
  • Loading branch information
giladgd committed Feb 17, 2022
1 parent 60a5b84 commit 97fdc17
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
"import": "./index.mjs",
"require": "./index.js"
},
"./*": "./*"
"./browser": "./browser/index.js",
"./*.js": "./*.js",
"./*": {
"require": "./*.js",
"import": "./*"
}
},
"main": "./index.js",
"module": "./index.mjs",
Expand Down

0 comments on commit 97fdc17

Please sign in to comment.