-
Notifications
You must be signed in to change notification settings - Fork 1k
feat: support custom webpack and ngx-env builders #7557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/frameworks/angular/utils.ts
Outdated
@@ -79,10 +79,21 @@ const enum ExpectedBuilder { | |||
LEGACY_DEVKIT_SSR_DEV_SERVER = "@angular-devkit/build-angular:ssr-dev-server", | |||
} | |||
|
|||
const enum ThirdPartyBuilder { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
* 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 <[email protected]>
There was a problem hiding this 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
Description
This PR supports the custom Angular builders requested in the following issues:
Scenarios Tested
Deployed Angular applications which uses following builders:
Sample Commands