Skip to content

Commit

Permalink
Set target to ES2022
Browse files Browse the repository at this point in the history
  • Loading branch information
yzrmn committed Dec 14, 2023
1 parent 2d1835c commit 6331101
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
],
"env": {
"browser": true,
"es2020": true
"es2022": true
},
"ignorePatterns": [
"dist/"
Expand Down
2 changes: 1 addition & 1 deletion packages/redgeometry/scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ await buildHelper(
minify: true,
sourcemap: true,
sourcesContent: false,
target: "ES2020",
target: "ES2022",
},
[
{
Expand Down
2 changes: 1 addition & 1 deletion packages/redgeometry/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"target": "ES2020",
"target": "ES2022",
"types": ["./src/env"]
},
"include": ["./src", "./tests"]
Expand Down

0 comments on commit 6331101

Please sign in to comment.