-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(angular): support esbuild middleware functions #21048
feat(angular): support esbuild middleware functions #21048
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 8b5265d. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 6 targets
Sent with 💌 from NxCloud. |
Also, should I update the docs for dev-server with a mention of |
48a5729
to
1807463
Compare
Hi @leosvelperez, any chance this will be merged for the 17.3.0 release? |
Yeah. I have it on my list for early next week. Thanks for contributing this! |
hey @dmitry-stepanenko! Thanks again for contributing this!
Yeah, the current We can skip this for now and do it separately. Let me know if you'd like to take a stab at it. Otherwise, I'll make those changes once this is merged. |
1807463
to
a0573f9
Compare
Thanks @leosvelperez. I will leave the docs for you in this case so that there's no back and forth on wording |
a0573f9
to
dd3a169
Compare
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.
Sorry. One thing I forgot, we need to validate at runtime that the option was not provided when the workspace is using an Angular version that doesn't support it. Similar to what we do in https://github.com/nrwl/nx/blob/master/packages/angular/src/builders/webpack-server/webpack-server.impl.ts#L99.
dd3a169
to
8b5265d
Compare
Oh, my bad, should have noticed that 🙈 Copied the error from the |
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! 🎉
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
Angular has added an ability to provide both plugins and middleware functions. However nx now only leverages the exposed plugins API.
Expected Behavior
Should be able to configure middleware functions in the
@nx/angular:dev-server
executor.Related Issue(s)
Fixes #