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

v2.0.0 : vite-template-redux : npm run build : Error - Output file 'app/vite.config.d.ts' has not been built from source file 'app/vite.config.ts'. #129

Open
csatish opened this issue Aug 31, 2024 · 1 comment

Comments

@csatish
Copy link

csatish commented Aug 31, 2024

Version : v2.0.0
Package : vite-template-redux
Running environment : Tried node 18 and 20

npm run build is throwing error as below:

Output file 'app/vite.config.d.ts' has not been built from source file 'app/vite.config.ts'.
The file is in the program because:
Matched by default include pattern '**/*'

@csatish csatish changed the title v2.0.0 : vite-template-redux throwing error for npm run build v2.0.0 : vite-template-redux : npm run build : Error - Output file 'app/vite.config.d.ts' has not been built from source file 'app/vite.config.ts'. Aug 31, 2024
@csatish
Copy link
Author

csatish commented Aug 31, 2024

By adding below line in tsconfig.json have resolved the "npm run build" error.

"include": ["src"]

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

No branches or pull requests

1 participant