Replies: 2 comments 1 reply
-
I was having the same issues and found that I needed to modify my tsconfig file to disable the emitting of file.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks, I already had that option in tsconfig, however you put me on the right track: my Webstorm IDE was the one generating those files, adding --noEmit to the tsc options in Webstorm settings resolved it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
When using vite dev on a typescript project the server automatically compiles my .ts files into .js files, but places them alongside the typescript source file in my source tree.
Is there any way to configure Vite to place all those .js files in a dedicated <root>/dev-dist or similar directory, just like we can do with esbuild.outdir for vite build?
I went through the docs but couldn't see anything obvious... this really confuses my IDE, and also complicates some symlink shadowing I am doing on my source dirs.
Thanks!
Franck
Beta Was this translation helpful? Give feedback.
All reactions