We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78457ce commit e2b5028Copy full SHA for e2b5028
src/resolve.js
@@ -1,7 +1,7 @@
1
export default function resolvePath ( relativePath, base ) {
2
// If we've got an absolute path, or base is '', return
3
// relativePath
4
- if ( !base || relativePath.charAt( 0 ) === '/' ) {
+ if ( !base || relativePath.charAt( 0 ) === '/' || (relativePath.indexOf('blob:') === 0) ) {
5
return relativePath;
6
}
7
0 commit comments