diff --git a/tsconfig.build.json b/tsconfig.build.json index 0788dc6..a919e3b 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -1,7 +1,8 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "types": ["node"] + "types": ["node"], + "rootDir": "src" }, "exclude": [ "**/lib/**", @@ -9,6 +10,8 @@ "**/__snapshots__/**", "**/__fixtures__/**", "**/__tests__/**", - "**/*.test.*" + "**/__test__/**", + "**/__mocks__/**", + "**/*.test.*", ] } diff --git a/tsconfig.json b/tsconfig.json index df932d2..5f8f3d1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,6 @@ "target": "es2018", "module": "commonjs", "lib": ["es2018"], - "rootDir": "src", "outDir": "lib", "tsBuildInfoFile": "lib/.tsbuildinfo", "esModuleInterop": true, @@ -18,8 +17,5 @@ "removeComments": true }, "include": ["src", "__mocks__", "src/__test__"], - "exclude": [ - "**/lib/**", - "**/node_modules/**" - ] + "exclude": ["**/lib/**", "**/node_modules/**"] }