-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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: webpack 5 support #8929
feat: webpack 5 support #8929
Conversation
Thanks for taking the time to open a PR!
|
Test summaryRun details
View run in Cypress Dashboard ➡️ Flakiness
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
The reason for CI failures is that create-react-app aka react-scripts does not support webpack v5 facebook/create-react-app#9510 |
@dmtrKovalenko there's some failing examples that seem real -- the webpack configuration API has changed. Can you look into it? |
Unfortunately we have to close this PR due to inactivity. Please open a new PR addressing the original issue and any requested changes. |
User facing changelog
Overall changing is related to webpack v5 for instance error messages were changed from
To the more readable
Make sure that
[0m�[31m�[1m
symbols are used to render the code snippet preview when the error appearedAdditional details
This PR proves that
@cypress/webpack-preprocessor
works nicely with the v5 version of webpack. It also removes the outdated and deletedcompiler.plugin
API usage.How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?cypress.schema.json
?