From 51d5898d0d8f7334233475ffbbbad57af9da0c08 Mon Sep 17 00:00:00 2001 From: Guo Yunhe Date: Tue, 31 Jan 2023 09:55:46 +0800 Subject: [PATCH] Remove relative baseUrl, rootDir and outDir 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 #12 --- tsconfig.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 50d7ccb..5d41676 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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": [ "**/*" @@ -28,4 +25,4 @@ "node_modules", "build" ] -} \ No newline at end of file +}