Skip to content

feat: support custom webpack and ngx-env builders#7557

Merged
leoortizz merged 16 commits intomasterfrom
feat/do-not-block-to-use-other-builders
Mar 13, 2025
Merged

feat: support custom webpack and ngx-env builders#7557
leoortizz merged 16 commits intomasterfrom
feat/do-not-block-to-use-other-builders

Conversation

@9kubczas4
Copy link
Copy Markdown
Contributor

@9kubczas4 9kubczas4 commented Aug 14, 2024

Description

This PR supports the custom Angular builders requested in the following issues:

Scenarios Tested

Deployed Angular applications which uses following builders:

  • custom webpack
  • ngx-env builder.

Sample Commands

@9kubczas4 9kubczas4 requested a review from jamesdaniels August 20, 2024 15:38
@9kubczas4 9kubczas4 marked this pull request as ready for review August 20, 2024 15:38
@9kubczas4 9kubczas4 changed the title feat: support custom webpack builder Aug 22, 2024
LEGACY_DEVKIT_SSR_DEV_SERVER = "@angular-devkit/build-angular:ssr-dev-server",
}

const enum ThirdPartyBuilder {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Qq, could we just simplify all this and only look after the last colon and expect it to conform to the builder-type? e.g, ":application", ":dev-server", ":server", ":browser", etc.

Copy link
Copy Markdown
Contributor

@bboysokol bboysokol Feb 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jamesdaniels Regarding to this PR, I created another one with the requested changes:
#8256

bboysokol and others added 4 commits March 5, 2025 14:41
* Added handling for different angular builders

* Remove unused method from angular

* Review changes, tests and cleaning

* Removing empty jsdocs

* Fixing tests

* Update src/frameworks/angular/utils.ts

---------

Co-authored-by: Leonardo Ortiz <leo@monogram.io>
@leoortizz leoortizz requested a review from jamesdaniels March 6, 2025 15:21
Copy link
Copy Markdown
Member

@jamesdaniels jamesdaniels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for taking to the finish line

@leoortizz leoortizz enabled auto-merge (squash) March 13, 2025 20:36
@leoortizz leoortizz merged commit 11c6ffc into master Mar 13, 2025
52 of 55 checks passed
@leoortizz leoortizz deleted the feat/do-not-block-to-use-other-builders branch March 14, 2025 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment