Skip to content

Commit e81f43c

Browse files
fix(sandbox): drop inherited tsconfig paths in package build (#115)
* fix(sandbox): drop inherited tsconfig paths in package build The root tsconfig maps @bunny.net/openapi-client to its source files so the repo builds without a prebuild step. The sandbox package build inherited that mapping, pulling openapi-client sources into its program and failing rootDir checks in the publish workflow. Override paths so the build resolves openapi-client through its dist exports instead. * fix(sandbox): drop inherited tsconfig paths in package build The root tsconfig maps @bunny.net/openapi-client to its source files so the repo builds without a prebuild step. The sandbox package build inherited that mapping, pulling openapi-client sources into its program and failing rootDir checks in the publish workflow. Override paths so the build resolves openapi-client through its dist exports instead.
1 parent 93da252 commit e81f43c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/sandbox/tsconfig.build.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"declaration": true,
66
"rewriteRelativeImportExtensions": true,
77
"outDir": "dist",
8-
"rootDir": "src"
8+
"rootDir": "src",
9+
"paths": {}
910
},
1011
"exclude": ["src/**/*.test.ts"]
1112
}

0 commit comments

Comments
 (0)