Skip to content

Commit ada7ab7

Browse files
committed
merge tsconfig and tsconfig.core
1 parent c16bb5d commit ada7ab7

File tree

3 files changed

+18
-25
lines changed

3 files changed

+18
-25
lines changed

packages/replay/config/rollup.config.core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const config = defineConfig({
2222
external: [...Object.keys(pkg.dependencies || {})],
2323
plugins: [
2424
typescript({
25-
tsconfig: IS_PRODUCTION ? './config/tsconfig.core.json' : './tsconfig.json',
25+
tsconfig: './tsconfig.json',
2626
}),
2727
replace({
2828
// __SENTRY_DEBUG__ should be save to replace in any case, so no checks for assignments necessary

packages/replay/config/tsconfig.core.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/replay/tsconfig.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,26 @@
11
{
2-
"extends": "./config/tsconfig.core.json",
32
"compilerOptions": {
43
"paths": {
54
"@test": ["./test"],
65
"@test/*": ["./test/*"]
76
},
8-
"types": ["node", "jest"]
7+
"baseUrl": ".",
8+
"rootDir": ".",
9+
"types": ["node", "jest"],
10+
"module": "esnext",
11+
"moduleResolution": "node",
12+
"noImplicitAny": true,
13+
"noEmitOnError": false,
14+
"esModuleInterop": true,
15+
"resolveJsonModule": true,
16+
"skipLibCheck": true,
17+
"target": "es5",
18+
"allowJs": true,
19+
"declaration": true,
20+
"declarationDir": "./types",
21+
"strictNullChecks": true,
22+
"outDir": "./build/npm/dist"
923
},
10-
"include": ["src/**/*.ts", "test/**/*.ts", "rollup.config.ts", "jest.config.ts", "jest.setup.ts"],
24+
"include": ["src/**/*.ts"],
1125
"exclude": ["node_modules"]
1226
}

0 commit comments

Comments
 (0)