You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The paths also seem to be resolved differently if I'm building it, but only if it's a civet file. By default the script looks like this in index.html: /src/main.ts, note the starting /, which works normally with Vite and even works with .ts file even if I use the civet plugin. But if I use /src/main.civet it seems to try to resolve it from the machine's root, not the project root and doesn't find the file. Only in build. Changing it to ./src/main.civet works but it is different from normal Vite though.
What's the proper way to define project-absolute paths so the TS LSP picks it up?
In my testing it (surprisingly) worked with the Civet LSP in .ts files but the TS LSP thinks they are actual absolute paths and I don't know any config option to set to make TS understand this pattern.
Stackblitz Reproduction
The text was updated successfully, but these errors were encountered: