refactor: improve angular mount log and override build options for dev #22955
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User facing changelog
na
Additional details
Pairing with @jordanpowell88 on Angular stuff and came across some slight improvements to the mount and dev-server. We now bind the mount response to the
Cypress.logof the mount command, and we made a few build overrides based on the @angular/cli dev-server overrides.Steps to test
You can test the mount by running
yarn workspace @cypress/webpack-dev-serverand clicking on theangular.cy.tstest. Make sure to runyarnto build everything first.How has the user experience changed?
Video shows the output of clicking on the
mountcommand in the command log and the network requests shows the removal of the bundle hashing e.g.spec-0.abfj8083urn.js -> spec-0.jsScreen.Recording.2022-07-27.at.10.54.19.AM.mov
PR Tasks
cypress-documentation?type definitions?