Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): disable deployUrl when using vi…
Browse files Browse the repository at this point in the history
…te dev-server

Prior to this commit, the deployUrl was incorrectly being set when using vite dev-server.

(cherry picked from commit b20dcae)
  • Loading branch information
alan-agius4 committed Mar 5, 2024
1 parent 1f9cb86 commit faffdfd
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -57,6 +57,9 @@ export async function* serveWithVite(
serverOptions.buildTarget,
)) as json.JsonObject & BrowserBuilderOptions;

// Deploy url is not used in the dev-server.
delete rawBrowserOptions.deployUrl;

const browserOptions = (await context.validateOptions(
{
...rawBrowserOptions,
Expand Down

0 comments on commit faffdfd

Please sign in to comment.