Skip to content

Commit

Permalink
add bundle tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
codecapitano committed Jan 28, 2025
1 parent d8dc5ed commit d6c41a9
Show file tree
Hide file tree
Showing 9 changed files with 89 additions and 1 deletion.
11 changes: 11 additions & 0 deletions experimental/instrumentation-fetch/tsconfig.bundle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.esm.json",
"compilerOptions": {
"declarationDir": "./dist/bundle/types",
"outDir": "./dist/bundle",
"rootDir": "./src",
"tsBuildInfoFile": "../../.cache/tsc/core.esm.tsbuildinfo"
},
"include": ["./src"],
"exclude": ["./**/*.test.ts"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.esm.json",
"compilerOptions": {
"declarationDir": "./dist/bundle/types",
"outDir": "./dist/bundle",
"rootDir": "./src",
"tsBuildInfoFile": "../../.cache/tsc/core.esm.tsbuildinfo"
},
"include": ["./src"],
"exclude": ["./**/*.test.ts"]
}
11 changes: 11 additions & 0 deletions experimental/instrumentation-xhr/tsconfig.bundle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.esm.json",
"compilerOptions": {
"declarationDir": "./dist/bundle/types",
"outDir": "./dist/bundle",
"rootDir": "./src",
"tsBuildInfoFile": "../../.cache/tsc/core.esm.tsbuildinfo"
},
"include": ["./src"],
"exclude": ["./**/*.test.ts"]
}
11 changes: 11 additions & 0 deletions experimental/transport-otlp-http/tsconfig.bundle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.esm.json",
"compilerOptions": {
"declarationDir": "./dist/bundle/types",
"outDir": "./dist/bundle",
"rootDir": "./src",
"tsBuildInfoFile": "../../.cache/tsc/core.esm.tsbuildinfo"
},
"include": ["./src"],
"exclude": ["./**/*.test.ts"]
}
11 changes: 11 additions & 0 deletions packages/core/tsconfig.bundle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.esm.json",
"compilerOptions": {
"declarationDir": "./dist/bundle/types",
"outDir": "./dist/bundle",
"rootDir": "./src",
"tsBuildInfoFile": "../../.cache/tsc/core.esm.tsbuildinfo"
},
"include": ["./src"],
"exclude": ["./**/*.test.ts"]
}
11 changes: 11 additions & 0 deletions packages/react/tsconfig.bundle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.esm.json",
"compilerOptions": {
"declarationDir": "./dist/bundle/types",
"outDir": "./dist/bundle",
"rootDir": "./src",
"tsBuildInfoFile": "../../.cache/tsc/core.esm.tsbuildinfo"
},
"include": ["./src"],
"exclude": ["./**/*.test.ts"]
}
11 changes: 11 additions & 0 deletions packages/web-sdk/tsconfig.bundle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.esm.json",
"compilerOptions": {
"declarationDir": "./dist/bundle/types",
"outDir": "./dist/bundle",
"rootDir": "./src",
"tsBuildInfoFile": "../../.cache/tsc/core.esm.tsbuildinfo"
},
"include": ["./src"],
"exclude": ["./**/*.test.ts"]
}
11 changes: 11 additions & 0 deletions packages/web-tracing/tsconfig.bundle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.esm.json",
"compilerOptions": {
"declarationDir": "./dist/bundle/types",
"outDir": "./dist/bundle",
"rootDir": "./src",
"tsBuildInfoFile": "../../.cache/tsc/core.esm.tsbuildinfo"
},
"include": ["./src"],
"exclude": ["./**/*.test.ts"]
}
2 changes: 1 addition & 1 deletion rollup.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ exports.getRollupConfigBase = (moduleName) => {
inlineSources: false,
outputToFilesystem: true,
sourceMap: false,
tsconfig: './tsconfig.esm.json',
tsconfig: './tsconfig.bundle.json',
}),
terser(),
],
Expand Down

0 comments on commit d6c41a9

Please sign in to comment.