Skip to content

Commit

Permalink
fix(@angular/build): remove duplicate prebundling warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-agius4 committed Mar 7, 2025
1 parent dd7fe11 commit beab546
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/angular/build/src/builders/dev-server/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,6 @@ export async function* execute(

const { builderName, normalizedOptions } = await initialize(options, projectName, context);

// Warn if the initial options provided by the user enable prebundling but caching is disabled
if (options.prebundle && !normalizedOptions.cacheOptions.enabled) {
context.logger.warn(
`Prebundling has been configured but will not be used because caching has been disabled.`,
);
}

yield* serveWithVite(
normalizedOptions,
builderName,
Expand Down

0 comments on commit beab546

Please sign in to comment.