Skip to content

Commit

Permalink
Merge pull request #52 from confio/bump-target-to-es2020
Browse files Browse the repository at this point in the history
Bump target to es2020
  • Loading branch information
webmaster128 committed Dec 8, 2022
2 parents 14f3776 + 25f4844 commit 59866c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -17,6 +17,8 @@ and this project adheres to
the end of 2022. Then all potential issues should be fixed.
- `fromJSON`/`toJSON` are not generated anymore. They were never needed for
CosmJS and do not produce a Cosmos SDK compatible JSON.
- The TypeScript build target is now ES2020,
[analogue to CosmJS 0.30](https://github.com/cosmos/cosmjs/issues/1002).

## [0.5.2] - 2022-10-11

Expand Down
7 changes: 5 additions & 2 deletions tsconfig.json
Expand Up @@ -4,7 +4,7 @@
"declaration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"lib": ["es2018"],
"lib": ["es2020"],
"module": "commonjs",
"moduleResolution": "node",
"newLine": "LF",
Expand All @@ -15,12 +15,15 @@
"noUnusedParameters": false,
"outDir": "build",
"pretty": true,
// We want comments in the .d.ts files. TS does not allow us to remove comments
// from .js output only (https://github.com/microsoft/TypeScript/issues/45187, https://github.com/microsoft/TypeScript/issues/13318).
// So minifiers have to strip them off later on.
"removeComments": false,
"resolveJsonModule": true,
"rootDir": "src",
"sourceMap": true,
"strict": true,
"target": "es2018"
"target": "es2020"
},
"include": ["src/**/*"]
}

0 comments on commit 59866c7

Please sign in to comment.