We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d46327 commit e6b6b7dCopy full SHA for e6b6b7d
src/targets/browser/blazorSourcePathResolver.ts
@@ -55,7 +55,9 @@ export class BlazorSourcePathResolver extends BrowserSourcePathResolver {
55
// Blazor files have a file:/// url. Override the default absolutePathToUrlRegexp which returns an http based regexp
56
const fileUrl = utils.absolutePathToFileUrl(absolutePath);
57
const fileRegexp = utils.urlToRegex(fileUrl);
58
- return `${fileRegexp}|${super.absolutePathToUrlRegexp(absolutePath)}`;
+ if (this.options.baseUrl)
59
+ return `${fileRegexp}|${super.absolutePathToUrlRegexp(absolutePath)}`;
60
+ return fileRegexp;
61
}
62
63
return super.absolutePathToUrlRegexp(absolutePath);
0 commit comments