Skip to content

Commit

Permalink
build: Build for ES2020 (#142)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mydea authored and billyvg committed Apr 26, 2024
1 parent a1ae4a1 commit 2661b57
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/rrdom-nodejs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"composite": true,
"target": "ES6",
"target": "ES2020",
"module": "commonjs",
"noImplicitAny": true,
"strictNullChecks": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/rrdom/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"composite": true,
"target": "ES6",
"target": "ES2020",
"module": "commonjs",
"noImplicitAny": true,
"strictNullChecks": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/rrvideo/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"composite": true,
"target": "ES6",
"target": "ES2020",
"module": "commonjs",
"declaration": true,
"sourceMap": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/rrweb-snapshot/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"composite": true,
"module": "ESNext",
"target": "ES6",
"target": "ES2020",
"moduleResolution": "Node",
"noImplicitAny": true,
"strictNullChecks": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/rrweb/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "Node",
"target": "ES6",
"target": "ES2020",
"noImplicitAny": true,
"strictNullChecks": true,
"removeComments": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/types/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"composite": true,
"target": "ES6",
"target": "ES2020",
"module": "commonjs",
"noImplicitAny": true,
"strictNullChecks": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/web-extension/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"composite": true,
"baseUrl": ".",
"module": "ESNext",
"target": "es2016",
"target": "ES2020",
"lib": [
"DOM",
"ESNext"
Expand Down

0 comments on commit 2661b57

Please sign in to comment.