Skip to content

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

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

leoortizz merged 16 commits into
masterfrom
feat/do-not-block-to-use-other-builders

Conversation

@9kubczas4

@9kubczas4 9kubczas4 commented Aug 14, 2024 •

Copy link
Copy Markdown
Contributor

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 feat: support custom webpack and ngx-env builders Aug 22, 2024
Comment thread src/frameworks/angular/utils.ts Outdated
LEGACY_DEVKIT_SSR_DEV_SERVER = "@angular-devkit/build-angular:ssr-dev-server",
}

const enum ThirdPartyBuilder {

Copy link
Copy Markdown
Contributor

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.

@bboysokol bboysokol Feb 23, 2025 •

Copy link
Copy Markdown
Contributor

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

@jamesdaniels jamesdaniels left a comment

Copy link
Copy Markdown
Contributor

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
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants