rollup-plugin-off-main-thread
rollup-plugin-off-main-thread copied to clipboard
Make 'omt:' URLs have relative emitted paths in sourcemaps
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