From f86a925c89917ffa8f9efa4f885a74e95e64df7b Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Tue, 19 Dec 2023 13:08:35 +0100 Subject: [PATCH] build: Build for ES2020 Avoid already polyfilling stuff in here - we rather do this in the Sentry SDK directly. --- packages/rrdom-nodejs/tsconfig.json | 2 +- packages/rrdom/tsconfig.json | 2 +- packages/rrvideo/tsconfig.json | 2 +- packages/rrweb-snapshot/tsconfig.json | 2 +- packages/rrweb/tsconfig.json | 2 +- packages/types/tsconfig.json | 2 +- packages/web-extension/tsconfig.json | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/rrdom-nodejs/tsconfig.json b/packages/rrdom-nodejs/tsconfig.json index 88f7b03681..d8dee80523 100644 --- a/packages/rrdom-nodejs/tsconfig.json +++ b/packages/rrdom-nodejs/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "composite": true, - "target": "ES6", + "target": "ES2020", "module": "commonjs", "noImplicitAny": true, "strictNullChecks": true, diff --git a/packages/rrdom/tsconfig.json b/packages/rrdom/tsconfig.json index ed182cbd3f..72748793aa 100644 --- a/packages/rrdom/tsconfig.json +++ b/packages/rrdom/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "composite": true, - "target": "ES6", + "target": "ES2020", "module": "commonjs", "noImplicitAny": true, "strictNullChecks": true, diff --git a/packages/rrvideo/tsconfig.json b/packages/rrvideo/tsconfig.json index 95955dda4a..c0e08d60e9 100644 --- a/packages/rrvideo/tsconfig.json +++ b/packages/rrvideo/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "composite": true, - "target": "ES6", + "target": "ES2020", "module": "commonjs", "declaration": true, "sourceMap": true, diff --git a/packages/rrweb-snapshot/tsconfig.json b/packages/rrweb-snapshot/tsconfig.json index 58577aa6a9..302d79a0a5 100644 --- a/packages/rrweb-snapshot/tsconfig.json +++ b/packages/rrweb-snapshot/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "composite": true, "module": "ESNext", - "target": "ES6", + "target": "ES2020", "moduleResolution": "Node", "noImplicitAny": true, "strictNullChecks": true, diff --git a/packages/rrweb/tsconfig.json b/packages/rrweb/tsconfig.json index a095468445..1fc592f072 100644 --- a/packages/rrweb/tsconfig.json +++ b/packages/rrweb/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "module": "ESNext", "moduleResolution": "Node", - "target": "ES6", + "target": "ES2020", "noImplicitAny": true, "strictNullChecks": true, "removeComments": true, diff --git a/packages/types/tsconfig.json b/packages/types/tsconfig.json index 5023550074..7c092d0394 100644 --- a/packages/types/tsconfig.json +++ b/packages/types/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "composite": true, - "target": "ES6", + "target": "ES2020", "module": "commonjs", "noImplicitAny": true, "strictNullChecks": true, diff --git a/packages/web-extension/tsconfig.json b/packages/web-extension/tsconfig.json index a432b34020..752df1b342 100644 --- a/packages/web-extension/tsconfig.json +++ b/packages/web-extension/tsconfig.json @@ -3,7 +3,7 @@ "composite": true, "baseUrl": ".", "module": "ESNext", - "target": "es2016", + "target": "ES2020", "lib": [ "DOM", "ESNext"