Skip to content

Commit a95a24d

Browse files
author
Rebel Clone
committed
solution for isuue #330
1 parent 348e4f5 commit a95a24d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/source-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ export default (options) =>
246246
const indexHash = normalizedUrl.lastIndexOf('#');
247247

248248
if (indexHash >= 0) {
249-
hash = normalizedUrl.substr(indexHash, indexHash);
249+
hash = normalizedUrl.substr(indexHash); // Truncate url of small relative path can be solved from this
250250
normalizedUrl = normalizedUrl.substr(0, indexHash);
251251
}
252252

0 commit comments

Comments
 (0)