diff --git a/v3/midway-framework-koa-esm/boilerplate/tsconfig.json b/v3/midway-framework-koa-esm/boilerplate/tsconfig.json index 23a4c09..3558098 100644 --- a/v3/midway-framework-koa-esm/boilerplate/tsconfig.json +++ b/v3/midway-framework-koa-esm/boilerplate/tsconfig.json @@ -16,11 +16,8 @@ "declaration": true, "forceConsistentCasingInFileNames": true, "typeRoots": [ "./typings", "./node_modules/@types"], - "outDir": "dist" + "outDir": "dist", + "rootDir": "./src" }, - "exclude": [ - "dist", - "node_modules", - "test" - ] + "include": ["**/*.ts"] } diff --git a/v3/midway-framework-koa/boilerplate/tsconfig.json b/v3/midway-framework-koa/boilerplate/tsconfig.json index bddd75a..9e48533 100644 --- a/v3/midway-framework-koa/boilerplate/tsconfig.json +++ b/v3/midway-framework-koa/boilerplate/tsconfig.json @@ -15,11 +15,8 @@ "declaration": true, "forceConsistentCasingInFileNames": true, "typeRoots": [ "./typings", "./node_modules/@types"], - "outDir": "dist" + "outDir": "dist", + "rootDir": "./src" }, - "exclude": [ - "dist", - "node_modules", - "test" - ] + "include": ["**/*.ts"] } diff --git a/v3/midway-framework-web/boilerplate/tsconfig.json b/v3/midway-framework-web/boilerplate/tsconfig.json index bddd75a..9e48533 100644 --- a/v3/midway-framework-web/boilerplate/tsconfig.json +++ b/v3/midway-framework-web/boilerplate/tsconfig.json @@ -15,11 +15,8 @@ "declaration": true, "forceConsistentCasingInFileNames": true, "typeRoots": [ "./typings", "./node_modules/@types"], - "outDir": "dist" + "outDir": "dist", + "rootDir": "./src" }, - "exclude": [ - "dist", - "node_modules", - "test" - ] + "include": ["**/*.ts"] } diff --git a/v3/midway-quick-start/boilerplate/tsconfig.json b/v3/midway-quick-start/boilerplate/tsconfig.json index bddd75a..9e48533 100644 --- a/v3/midway-quick-start/boilerplate/tsconfig.json +++ b/v3/midway-quick-start/boilerplate/tsconfig.json @@ -15,11 +15,8 @@ "declaration": true, "forceConsistentCasingInFileNames": true, "typeRoots": [ "./typings", "./node_modules/@types"], - "outDir": "dist" + "outDir": "dist", + "rootDir": "./src" }, - "exclude": [ - "dist", - "node_modules", - "test" - ] + "include": ["**/*.ts"] } diff --git a/v3/midway-serverless-http-new-esm/boilerplate/tsconfig.json b/v3/midway-serverless-http-new-esm/boilerplate/tsconfig.json index 23a4c09..3558098 100644 --- a/v3/midway-serverless-http-new-esm/boilerplate/tsconfig.json +++ b/v3/midway-serverless-http-new-esm/boilerplate/tsconfig.json @@ -16,11 +16,8 @@ "declaration": true, "forceConsistentCasingInFileNames": true, "typeRoots": [ "./typings", "./node_modules/@types"], - "outDir": "dist" + "outDir": "dist", + "rootDir": "./src" }, - "exclude": [ - "dist", - "node_modules", - "test" - ] + "include": ["**/*.ts"] } diff --git a/v3/midway-serverless-http-new/boilerplate/tsconfig.json b/v3/midway-serverless-http-new/boilerplate/tsconfig.json index 496fe66..6900aa8 100644 --- a/v3/midway-serverless-http-new/boilerplate/tsconfig.json +++ b/v3/midway-serverless-http-new/boilerplate/tsconfig.json @@ -14,7 +14,8 @@ "pretty": true, "declaration": true, "forceConsistentCasingInFileNames": true, - "outDir": "dist" + "outDir": "dist", + "rootDir": "./src" }, - "exclude": ["dist", "node_modules", "test"] + "include": ["**/*.ts"] }