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
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.url or import.meta.resolve() in a local script
Run rollup with rollupImport() and rollupImportMeta()
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
The text was updated successfully, but these errors were encountered:
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:
import.meta.url
orimport.meta.resolve()
in a local scriptrollup
withrollupImport()
androllupImportMeta()
Expected behavior
The source should not be
file://...
Additional context
Need to get back the original
id
or something, not use the transformedid
The text was updated successfully, but these errors were encountered: