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

Consider adding a tsconfig.json for the user's vite.config.ts #2489

Open
sodic opened this issue Feb 6, 2025 · 0 comments
Open

Consider adding a tsconfig.json for the user's vite.config.ts #2489

sodic opened this issue Feb 6, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@sodic
Copy link
Contributor

sodic commented Feb 6, 2025

The vite.config.ts file in the root directory currently doesn't have an accompanying tsconfig.json file, so I'm guessing the IDE checks it with TypeScript's default compilerOptions.

Depending on how important this is, we should either:

  1. Include an additional tsconfig.node.json that targets vite.config.ts in all new Wasp project (as is the case for Vite projects).
  2. Document how users can specify a config for their vite.config.ts file.
@sodic sodic added the enhancement New feature or request label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant