Skip to content

Commit

Permalink
Remove relative baseUrl, rootDir and outDir
Browse files Browse the repository at this point in the history
For the following reason:
1. These relative path breaks in pnpm
2. Project template has already defined them in tsconfig.json, so no need to include them in preset

Fix adonisjs-community#12
  • Loading branch information
guoyunhe committed Jan 31, 2023
1 parent 2fcdc32 commit 51d5898
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@
"removeComments": true,
"declaration": false,
"moduleResolution": "node",
"outDir": "../../build",
"strictNullChecks": true,
"allowSyntheticDefaultImports": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"esModuleInterop": true,
"rootDir": "../../",
"baseUrl": "../../"
"esModuleInterop": true
},
"include": [
"**/*"
Expand All @@ -28,4 +25,4 @@
"node_modules",
"build"
]
}
}

0 comments on commit 51d5898

Please sign in to comment.