You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cypress is no longer supporting Webpack `4` as it is no longer maintained by the core Webpack team and Webpack `5` has been available since Q4 2020. This includes Webpack `4` support for:
26
+
27
+
-`@cypress/webpack-batteries-included-preprocessor` and `@cypress/webpack-preprocessor` for end-to-end testing. This is mostly a passive change unless you are using a specific webpack configuration to preprocess your tests, which is uncommon.
28
+
-`@cypress/webpack-dev-server` for component testing. This use case is more common and will require an to update to Webpack `5`.
29
+
30
+
#### To continue using Webpack `4`
31
+
32
+
##### End-to-End Testing
33
+
34
+
If you haven't been able to migrate away from Webpack `4` and still need to be able to run your end-to-end tests with Webpack `4`, you can install the following packages independently:
More information on how to configure the preprocessor can be found in the [Preprocessors API documentation](https://docs.cypress.io/api/node-events/preprocessors-api#Usage), the [Webpack Batteries Included Preprocessor documentation](https://github.com/cypress-io/cypress/blob/v14.3.2/npm/webpack-batteries-included-preprocessor/README.md), and [Webpack Preprocessor documentation](https://github.com/cypress-io/cypress/blob/v14.3.2/npm/webpack-preprocessor/README.md).
56
+
57
+
##### Component Testing
58
+
59
+
If you haven't been able to migrate away from Webpack `4` and still need to be able to run your component tests with Webpack `4`, you can install the following packages independently:
More information on how to configure the dev server can be found in the [Cypress Webpack Dev Server documentation](https://github.com/cypress-io/cypress/blob/v14.3.2/npm/webpack-dev-server/README.md) and [Custom Dev Server documentation](https://docs.cypress.io/app/component-testing/component-framework-configuration#Custom-Dev-Server/).
85
+
23
86
### Angular `17` CT no longer supported
24
87
25
88
With [LTS ending](https://angular.dev/reference/releases#actively-supported-versions) for Angular 17, the minimum required Angular version for component testing is now `18.0.0`.
0 commit comments