-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add esnext target for web instrumentations (#1776)
Co-authored-by: Daniel Dyla <[email protected]> Co-authored-by: Marc Pichler <[email protected]>
- Loading branch information
1 parent
da94ee9
commit 2698bb1
Showing
9 changed files
with
85 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
plugins/web/opentelemetry-instrumentation-document-load/tsconfig.esnext.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"extends": "../../../tsconfig.base.esnext.json", | ||
"compilerOptions": { | ||
"rootDir": "src", | ||
"outDir": "build/esnext", | ||
"tsBuildInfoFile": "build/esnext/tsconfig.esnext.tsbuildinfo" | ||
}, | ||
"include": [ | ||
"src/**/*.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
plugins/web/opentelemetry-instrumentation-long-task/tsconfig.esnext.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"extends": "../../../tsconfig.base.esnext.json", | ||
"compilerOptions": { | ||
"rootDir": "src", | ||
"outDir": "build/esnext", | ||
"tsBuildInfoFile": "build/esnext/tsconfig.esnext.tsbuildinfo" | ||
}, | ||
"files": [ "node_modules/zone.js/dist/zone.js.d.ts"], | ||
"include": [ | ||
"src/**/*.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
plugins/web/opentelemetry-instrumentation-user-interaction/tsconfig.esnext.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"extends": "../../../tsconfig.base.esnext.json", | ||
"compilerOptions": { | ||
"rootDir": "src", | ||
"outDir": "build/esnext", | ||
"skipLibCheck": true, | ||
"tsBuildInfoFile": "build/esnext/tsconfig.esnext.tsbuildinfo" | ||
}, | ||
"files": [ "node_modules/zone.js/dist/zone.js.d.ts"], | ||
"include": [ | ||
"src/**/*.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
plugins/web/opentelemetry-plugin-react-load/tsconfig.esnext.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"extends": "../../../tsconfig.base.esnext.json", | ||
"compilerOptions": { | ||
"rootDir": "src", | ||
"outDir": "build/esnext", | ||
"jsx": "react", | ||
"tsBuildInfoFile": "build/esnext/tsconfig.esnext.tsbuildinfo" | ||
}, | ||
"include": [ | ||
"src/**/*.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extends": "./tsconfig.base.json", | ||
"compilerOptions": { | ||
"module": "esnext", | ||
// target should be aligned with tsconfig.base.json | ||
"target": "es2017", | ||
"moduleResolution": "node" | ||
}, | ||
} |