Skip to content

Commit 2661b57

Browse files
mydeabillyvg
authored andcommitted
build: Build for ES2020 (#142)
Avoid already polyfilling stuff in here - we rather do this in the Sentry SDK directly. Currently, we are polyfilling things separately here (e.g. rest parameters, async/await), but we would polyfill stuff we need more efficiently in the Sentry SDK anyhow. So this should reduce bundle size a bit.
1 parent a1ae4a1 commit 2661b57

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

packages/rrdom-nodejs/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"composite": true,
4-
"target": "ES6",
4+
"target": "ES2020",
55
"module": "commonjs",
66
"noImplicitAny": true,
77
"strictNullChecks": true,

packages/rrdom/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"composite": true,
4-
"target": "ES6",
4+
"target": "ES2020",
55
"module": "commonjs",
66
"noImplicitAny": true,
77
"strictNullChecks": true,

packages/rrvideo/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"composite": true,
4-
"target": "ES6",
4+
"target": "ES2020",
55
"module": "commonjs",
66
"declaration": true,
77
"sourceMap": true,

packages/rrweb-snapshot/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"composite": true,
44
"module": "ESNext",
5-
"target": "ES6",
5+
"target": "ES2020",
66
"moduleResolution": "Node",
77
"noImplicitAny": true,
88
"strictNullChecks": true,

packages/rrweb/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"module": "ESNext",
44
"moduleResolution": "Node",
5-
"target": "ES6",
5+
"target": "ES2020",
66
"noImplicitAny": true,
77
"strictNullChecks": true,
88
"removeComments": true,

packages/types/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"composite": true,
4-
"target": "ES6",
4+
"target": "ES2020",
55
"module": "commonjs",
66
"noImplicitAny": true,
77
"strictNullChecks": true,

packages/web-extension/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"composite": true,
44
"baseUrl": ".",
55
"module": "ESNext",
6-
"target": "es2016",
6+
"target": "ES2020",
77
"lib": [
88
"DOM",
99
"ESNext"

0 commit comments

Comments
 (0)