Skip to content

Commit

Permalink
feat: fetch remote resources
Browse files Browse the repository at this point in the history
  • Loading branch information
cap-Bernardito committed May 26, 2020
1 parent 578d5cc commit b525441
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.js
Expand Up @@ -78,7 +78,7 @@ function getSourceMappingURL(code) {
}

return {
sourceMappingURL: match ? match[1] || match[2] || '' : null,
sourceMappingURL: match ? match[1] || match[2] : null,
replacementString: match ? match[0] : null,
};
}
Expand Down Expand Up @@ -135,7 +135,7 @@ async function fetchFromURL(
context,
url,
sourceRoot,
skipReading = false,
skipReading,
unresolveSourceFetcher
) {
// 1. It's an absolute url and it is not `windows` path like `C:\dir\file`
Expand Down

0 comments on commit b525441

Please sign in to comment.