-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
If scripts use import.meta and are local files, the soucemap contains the absolute filepath.
e.g. /home/${username}/Projects/${project}/${path}
To Reproduce
Steps to reproduce the behavior:
- Use
import.meta.urlorimport.meta.resolve()in a local script - Run
rollupwithrollupImport()androllupImportMeta() - Open in a browser
- See sources/Debugger panel
Expected behavior
The source should not be file://...
Additional context
Need to get back the original id or something, not use the transformed id
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Projects
Status
Backlog