Skip to content

Commit a9d2001

Browse files
alan-agius4clydin
authored andcommitted
fix(@angular-devkit/build-angular): disable runtime errors from being displayed in overlay
By default now webpack-dev-server adds runtime errors in an overlay. See: webpack/webpack-dev-server@aab01b3 this commit disables this functionality. Closes #25151 (cherry picked from commit 126b23e)
1 parent 822b552 commit a9d2001

File tree

1 file changed

+1
-0
lines changed
  • packages/angular_devkit/build_angular/src/webpack/configs

1 file changed

+1
-0
lines changed

packages/angular_devkit/build_angular/src/webpack/configs/dev-server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ function getWebSocketSettings(
318318
overlay: {
319319
errors: true,
320320
warnings: false,
321+
runtimeErrors: false,
321322
},
322323
},
323324
};

0 commit comments

Comments
 (0)