Skip to content

Commit 8faaf51

Browse files
committed
refactor(@angular/build): remove outdated allowedHosts warning
The warning is no longer accurate, as `allowedHosts` is now used in Vite.
1 parent 833dc98 commit 8faaf51

File tree

1 file changed

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

1 file changed

+0
-6
lines changed

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

-6
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,6 @@ export function execute(
6767
);
6868
}
6969

70-
if (options.allowedHosts?.length) {
71-
context.logger.warn(
72-
`The "allowedHosts" option will not be used because it is not supported by the "${builderName}" builder.`,
73-
);
74-
}
75-
7670
if (options.publicHost) {
7771
context.logger.warn(
7872
`The "publicHost" option will not be used because it is not supported by the "${builderName}" builder.`,

0 commit comments

Comments
 (0)