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

[Vite] Create a configuration for type checking (from TypeScript) in production builds #12114

Closed
gilberto-torrezan opened this issue Oct 22, 2021 · 2 comments · Fixed by #12344

Comments

@gilberto-torrezan
Copy link
Contributor

As noted in this ticket, by default Vite doesn't do any type checking of the code, and leaves that for the developer's IDE.

This can lead to problems when the IDEs of developers are not reliable (such in an open source project with external contributions). There should be some configuration to prevent code with type errors from being merged to mainstream and deployed to production.

@gilberto-torrezan gilberto-torrezan added enhancement vite Tickets related to vite support labels Oct 22, 2021
@gilberto-torrezan gilberto-torrezan added this to To do in Frontend build optimization via automation Oct 22, 2021
@gilberto-torrezan
Copy link
Contributor Author

There's this plugin for example: https://github.com/fi3ework/vite-plugin-checker

@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with platform 22.0.0.rc1 and is also targeting the upcoming stable 22.0.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

3 participants