Skip to content

Commit

Permalink
breaking: support webpack v5
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Since cypress now bundles with webpack v5, the minimum webpack version is now version 5 as this iswhat cypress will support in the monorepo moving forward. If you wish to use webpack 4, please use v2 of this package.
  • Loading branch information
AtofStryker committed Aug 7, 2023
1 parent 4934d73 commit 941a3ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions npm/webpack-batteries-included-preprocessor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ This preprocessor is a wrapper for [@cypress/webpack-preprocessor](https://githu

Note that installing [@cypress/webpack-preprocessor](https://github.com/cypress-io/cypress-webpack-preprocessor) is also required. This allows you to update its version separately from this wrapper.

For webpack `v5`, use `@cypress/webpack-batteries-included-preprocessor` `v3`. For webpack `v4`, use `@cypress/webpack-batteries-included-preprocessor` `v2`.

```sh
npm install --save-dev @cypress/webpack-batteries-included-preprocessor @cypress/webpack-preprocessor
```
Expand Down

0 comments on commit 941a3ef

Please sign in to comment.