Skip to content

Commit b525441

Browse files
feat: fetch remote resources
1 parent 578d5cc commit b525441

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function getSourceMappingURL(code) {
7878
}
7979

8080
return {
81-
sourceMappingURL: match ? match[1] || match[2] || '' : null,
81+
sourceMappingURL: match ? match[1] || match[2] : null,
8282
replacementString: match ? match[0] : null,
8383
};
8484
}
@@ -135,7 +135,7 @@ async function fetchFromURL(
135135
context,
136136
url,
137137
sourceRoot,
138-
skipReading = false,
138+
skipReading,
139139
unresolveSourceFetcher
140140
) {
141141
// 1. It's an absolute url and it is not `windows` path like `C:\dir\file`

0 commit comments

Comments
 (0)