Skip to content

Commit 7c5aab3

Browse files
authored
build(replay): Remove src sub-directory in build/types (#6353)
Previously, types were built into `build/npm/types/src/index.d.ts`. The `src` sub-directory shouldn't be in there, so this patch fixes that by removing some leftover properties in the main `tsconfig.json` which caused this sub-directory to appear. Also removed a few additional unnecessary properties, such as `types` which we only need in `tsconfig.test.json`.
1 parent d9c82b8 commit 7c5aab3

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

packages/replay/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "User replays for Sentry",
55
"main": "build/npm/cjs/index.js",
66
"module": "build/npm/esm/index.js",
7-
"types": "build/npm/types/src/index.d.ts",
7+
"types": "build/npm/types/index.d.ts",
88
"sideEffects": false,
99
"scripts": {
1010
"build:rollup": "run-s build:worker build:core",

packages/replay/tsconfig.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
{
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
4-
"paths": {
5-
"@test": ["./test"],
6-
"@test/*": ["./test/*"]
7-
},
8-
"baseUrl": ".",
9-
"rootDir": ".",
10-
"types": ["node", "jest"],
114
"module": "esnext",
125
"noImplicitAny": true,
136
"noEmitOnError": false,

0 commit comments

Comments
 (0)