Skip to content

Commit

Permalink
refactor!: build target is now ES2022
Browse files Browse the repository at this point in the history
The distribution build is now compiled with ES2022 as target instead of
the previous ES2020 target.
  • Loading branch information
panva committed Oct 7, 2024
1 parent c4a7f64 commit 8af3e9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"files": ["src/index.ts"],
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"target": "ES2020",
"module": "ES2020",
"lib": ["ES2020", "DOM", "DOM.Iterable", "ES2022.Error", "ES2021.Promise"],
"target": "ES2022",
"module": "ES2022",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"strict": true,
"removeComments": true,
"outDir": "build",
Expand Down

0 comments on commit 8af3e9f

Please sign in to comment.