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
closes#14993
Generates source maps and deletes them after uploading them to Sentry
per default.
Scenarios:
1. users set `config.devtool` to generate source maps -> keep
`config.devtool` (a.k.a. source map) setting
2. users set `config.devtool` to something different that "source-map"
or "hidden-source-map"
3. `config.devtool` is not defined
--> In case 3 we are automatically setting `filesToDeleteafterUpload`
But `deleteFilesAfterUpload: true` overwrites the behavior and will
always delete the source maps. Also in case 1 and 2.
'[Sentry] Automatically enabling source map generation by setting `devtool: "hidden-source-map"`. Those source maps will be deleted after they were uploaded to Sentry',
18
+
);
19
+
}
20
+
21
+
// Delete source maps per default or when this is explicitly set to `true` (`deleteSourceMapsAfterUpload: true` can override the default behavior)
0 commit comments