Unverified Commit 194a2910 authored by Joe Haddad's avatar Joe Haddad Committed by GitHub
Browse files

Fix overlay IE 11 compatibility (#5203)

parent 1e1019ab
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 4 additions and 3 deletions
+4 -3
......@@ -34,9 +34,10 @@ async function map(
});
await settle(
files.map(async fileName => {
const fetchUrl = fileName.startsWith('webpack-internal:')
? `/__get-internal-source?fileName=${encodeURIComponent(fileName)}`
: fileName;
const fetchUrl =
fileName.indexOf('webpack-internal:') === 0
? `/__get-internal-source?fileName=${encodeURIComponent(fileName)}`
: fileName;
const fileSource = await fetch(fetchUrl).then(r => r.text());
const map = await getSourceMap(fileName, fileSource);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment