-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
Description
Describe the bug
One part of my suggestion (#2950 I hope you find it worthwhile) about source maps in Vite is fixing this thing about that I will talk in this issue.
It is showing an absolute local path to a component in source maps in dev mode.
It looks like a clear bug.
Look:
Both orange (created from source maps) directories are redundant. It looks not nice.
Reproduction
Run any project in dev mode and inspect it.
System Info
Node: 15.9.0
@vitejs/plugin-vue: 1.2.1
vite: 2.1.5Before submitting the issue, please make sure you do the following
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Provide a description in this issue that describes the bug.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
Reactions are currently unavailable
