Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

Commit dd3678e

Browse files
committed
add note about peer dependencies to readme
1 parent 9c1e9bd commit dd3678e

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,22 @@ Cypress preprocessor for bundling JavaScript via webpack
88
npm install --save-dev @cypress/webpack-preprocessor
99
```
1010

11+
This package relies on the following [peer dependencies](https://docs.npmjs.com/files/package.json#peerdependencies):
12+
13+
* @babel/core
14+
* @babel/preset-env
15+
* babel-loader
16+
* webpack
17+
18+
It is likely you already have these installed either directly or as a transient dependency, but if not, you will need to install them.
19+
20+
```sh
21+
npm install --save-dev @babel/core @babel/preset-env babel-loader webpack
22+
```
23+
1124
## Compatibility
1225

13-
This version is only compatible with webpack 4.x+ and Babel 7.x+.
26+
This version is only compatible with webpack 4.x+ and Babel 7.x+.
1427

1528
* If you need webpack 2 or 3 support, use `@cypress/webpack-preprocessor` 1.x
1629
* If you need Babel 6 support, use `@cypress/webpack-preprocessor` <= 2.x

0 commit comments

Comments
 (0)