Skip to content

Commit

Permalink
fix(api/db): change monorepo moduleResolution from Node to Bundler
Browse files Browse the repository at this point in the history
Bundler uses the app or libraries' moduleResolution in their own
tsconfig files. Node broke the db library
  • Loading branch information
JowiAoun authored and MFarabi619 committed Oct 5, 2024
1 parent 3282a9d commit b4a5de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"baseUrl": ".",
"rootDir": ".",
"module": "ESNext",
"moduleResolution": "Node",
"moduleResolution": "Bundler",
"paths": {
"@cuhacking/api": ["libs/api/src/index.ts"],
"@cuhacking/auth": ["libs/auth/src/index.ts"],
Expand Down

0 comments on commit b4a5de5

Please sign in to comment.