Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: clean up tsconfig files #854

Merged
merged 4 commits into from
Aug 9, 2023
Merged

chore: clean up tsconfig files #854

merged 4 commits into from
Aug 9, 2023

Conversation

kanadgupta
Copy link
Member

@kanadgupta kanadgupta commented Aug 9, 2023

🧰 Changes

Been doing a few deep-dives to understand tsconfigs and saw a few things that we could probably remove? I also stumbled upon the official recommended tsconfig for Node 14 and brought in some properties from there.

The biggest change is bumping our target to ES2020. Not sure if this means anything but it yields a smaller dist (~32% smaller), yay!

See below for the before and after:

CleanShot 2023-08-09 at 16 58 27@2x CleanShot 2023-08-09 at 16 57 58@2x

🧬 QA & Testing

Is this okay to do? Tests seem to pass so I think it's fine?

@kanadgupta kanadgupta added the refactor Issues about tackling technical debt label Aug 9, 2023
@kanadgupta kanadgupta marked this pull request as ready for review August 9, 2023 21:24
@kanadgupta kanadgupta requested a review from erunion August 9, 2023 21:31
@kanadgupta kanadgupta merged commit 63eaf81 into next Aug 9, 2023
@kanadgupta kanadgupta deleted the chore-tsconfig-cleanup branch August 9, 2023 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Issues about tackling technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants