mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 04:26:01 +08:00
fix(@angular-devkit/build-angular): normalize paths in ssr sourcemaps to posix when using vite
Path normalization that fixes a tests on windows
This commit is contained in:
parent
117628f796
commit
40c16760c4
@ -547,7 +547,7 @@ export async function setupServer(
|
||||
);
|
||||
|
||||
// Set the sourcemap root to the workspace root. This is needed since we set a virtual path as root.
|
||||
remappedMap.sourceRoot = serverOptions.workspaceRoot + '/';
|
||||
remappedMap.sourceRoot = normalizePath(serverOptions.workspaceRoot) + '/';
|
||||
|
||||
return {
|
||||
...result,
|
||||
|
Loading…
x
Reference in New Issue
Block a user