Skip to content

Commit 160a911

Browse files
committed
fix(@angular-devkit/build-angular): add support for vendor sourcemaps when using the dev-server
Prior to this change the vendor sourcemaps were never generated when using vite prebundling. (cherry picked from commit 9926123)
1 parent 5267e60 commit 160a911

File tree

1 file changed

+1
-1
lines changed
  • packages/angular_devkit/build_angular/src/builders/dev-server

1 file changed

+1
-1
lines changed

packages/angular_devkit/build_angular/src/builders/dev-server/vite-server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export async function* serveWithVite(
106106
// Always enable JIT linking to support applications built with and without AOT.
107107
// In a development environment the additional scope information does not
108108
// have a negative effect unlike production where final output size is relevant.
109-
{ sourcemap: true, jit: true },
109+
{ sourcemap: true, jit: true, thirdPartySourcemaps: true },
110110
1,
111111
true,
112112
);

0 commit comments

Comments
 (0)