-
Notifications
You must be signed in to change notification settings - Fork 95
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
Use .ts files for vite config for type safety #2912
base: livekit
Are you sure you want to change the base?
Conversation
tsconfig.json
Outdated
@@ -18,6 +18,7 @@ | |||
// Workaround for https://github.com/microsoft/TypeScript/issues/55132 | |||
"useDefineForClassFields": false, | |||
"allowImportingTsExtensions": true, | |||
"skipLibCheck": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be a step back in how strict we do our typing.
Are we sure we want this? Is there no way to fix the reason we add this with yarns resolutions?
Can it get a comment why we need this now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I concur that this is a backwards step. Unfortunately it's not just the case of some resolutions.
The main culprit appears to be @codecov/vite-plugin.
I will make this draft and lift the one material change over to a simpler PR.
It turns out we've been using an unsupported sentry config option for some time.
By converting to TS it should help with maintainability.