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

Commit ae38677

Browse files
committed
add compatibility notes concerning babel 6 vs 7
1 parent 398092d commit ae38677

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ npm install --save-dev @cypress/webpack-preprocessor
1010

1111
## Compatibility
1212

13-
This version is only compatible with webpack 4.x+. If you need webpack 2 or 3 support, use `@cypress/webpack-preprocessor` 1.x
13+
This version is only compatible with webpack 4.x+ and Babel 7.x+.
14+
15+
* If you need webpack 2 or 3 support, use `@cypress/webpack-preprocessor` 1.x
16+
* If you need Babel 6 support, use `@cypress/webpack-preprocessor` <= 2.x
1417

1518
This plugin (and all Cypress plugins) run in Cypress's own version of Node. If you require npm packages or your own code into the pluginsFile, they needs to be compatible with [the version of Node that Cypress uses]((https://github.com/cypress-io/cypress/blob/develop/.node-version)), currently `8.2.1`.
1619

0 commit comments

Comments
 (0)