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
I have a collection of js files that were compiled from Typescript. I want to minify these with terser. They have existing sourcemaps. When I do this, some of the sourcemaps produced look incorrect. They have the wrong "sources" listed. It looks like they have the sources of the first file processed.
From my quick read of the code, it looks like options.sourceMap is modified and then passed into terser.
I have a collection of js files that were compiled from Typescript. I want to minify these with terser. They have existing sourcemaps. When I do this, some of the sourcemaps produced look incorrect. They have the wrong "sources" listed. It looks like they have the sources of the first file processed.
From my quick read of the code, it looks like options.sourceMap is modified and then passed into terser.
Maybe opts.sourceMap should be clone from the original options each time?
The text was updated successfully, but these errors were encountered: