Skip to content

Commit

Permalink
refactor(@angular-devkit/build-angular): remove casting since `setSou…
Browse files Browse the repository at this point in the history
…rceMapsEnabled` is in typings now

Remove redundant casting.

(cherry picked from commit d5a35d7)
  • Loading branch information
alan-agius4 committed Feb 1, 2024
1 parent 147b089 commit 1b2bf5d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ export async function* serveWithVite(
browserOptions.ssr = true;

// https://nodejs.org/api/process.html#processsetsourcemapsenabledval
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(process as any).setSourceMapsEnabled(true);
process.setSourceMapsEnabled(true);
}

// Set all packages as external to support Vite's prebundle caching
Expand Down

0 comments on commit 1b2bf5d

Please sign in to comment.