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 env file #398

Merged
merged 1 commit into from
Sep 7, 2023
Merged

Vite env file #398

merged 1 commit into from
Sep 7, 2023

Conversation

javipacheco
Copy link
Contributor

@javipacheco javipacheco commented Sep 7, 2023

TypeScript does not know that there are files other than .ts or .tsx so it will throw an error if an import has an unknown file suffix. This env file (more information here about env files in Vite) contains a vite reference in order to add commons files to the project and VSCode IDE doesn't complain about such files

@raulraja raulraja merged commit f8244d9 into main Sep 7, 2023
5 checks passed
@raulraja raulraja deleted the vite-env-file branch September 7, 2023 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants