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
sometimes in a big projects with tons of dependencies there is a problem to point to the exact file with the error, so by adding the file path (relative to the project) it will help to point into the exact file
Suggested solution
in the JavaScript module files for the browser (in dev) include a comment at the top with the file name relative to the project
Adding comments to each file by default requires creating a sourcemap to map back to the original position. Vite's URL requests are usually close to the filesystem path too, so it's not hard to find the original path. Otherwise, you can also create a Vite plugin to add the comment by default. Hence, I don't think this is something Vite will support by default.
Description
sometimes in a big projects with tons of dependencies there is a problem to point to the exact file with the error, so by adding the file path (relative to the project) it will help to point into the exact file
Suggested solution
in the JavaScript module files for the browser (in dev) include a comment at the top with the file name relative to the project
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: