Skip to content

Conversation

@docd27
Copy link

@docd27 docd27 commented Jun 5, 2021

Currently sourcemaps with omt: URLs contain the absolute path of the resolved file on the system running rollup.
Which potentially leaks sensitive information (e.g. the developer's local username).

This makes them relative to the rollup config and consistent with how other paths appear.

Note this requires rollup>=2.29.0 since ModuleInfo.meta was introduced in rollup/rollup#3807

@docd27 docd27 requested a review from surma as a code owner June 5, 2021 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant