microsoft / microsoft/AdaptiveCards
[Feature Request] Update TS code to target ES2020
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Problem Statement
Currently Typescript code in this repo targets ES5, which is known to generate larger JS code. All modern browsers have supported ES6 features. If we change it to targeting ES6 (aka ES2020), it will result in significantly smaller code. This in turn help improve performance of consuming apps because of smaller bundles.
Proposed solution
Change the target attribute of tsconfig.json file to ES2020
Alternatives or Workarounds
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open tsconfig.json and inspect the current target setting and nearby TypeScript configuration. Change the target to ES2020, then verify the repository’s TypeScript build and confirm that generated code and consuming applications still work as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100