Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2023-04-13 09:24:30 +08:00
commit e361ce2b32
8 changed files with 137 additions and 153 deletions

View file

@ -87,7 +87,8 @@ async function _resolveAndFetch(generatedSource) : SourceMapConsumer {
// Fetch the sourcemap over the network and create it.
const sourceMapURL = _resolveSourceMapURL(generatedSource);
const fetched = await fetch(
sourceMapURL, { loadFromCache: false }
sourceMapURL, { loadFromCache: false,
redirect: error }
);
// Create the source map and fix it up.