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.
setSourceMapsEnabled
1 parent 492b36d commit d5a35d7Copy full SHA for d5a35d7
packages/angular_devkit/build_angular/src/builders/dev-server/vite-server.ts
@@ -76,8 +76,7 @@ export async function* serveWithVite(
76
browserOptions.ssr = true;
77
78
// https://nodejs.org/api/process.html#processsetsourcemapsenabledval
79
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
80
- (process as any).setSourceMapsEnabled(true);
+ process.setSourceMapsEnabled(true);
81
}
82
83
// Set all packages as external to support Vite's prebundle caching
0 commit comments