Add a comment on @babel/preset-env

This commit is contained in:
Boro Sitnikovski 2020-05-15 11:28:21 +02:00
parent ad3b9fc861
commit f34e73d402
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ The `@woocommerce/e2e-environment` package exports configuration objects that ca
### Babel Config
Extend your project's `babel.config.js` to contain the expected presets for E2E testing.
Make sure you `npm install @babel/preset-env --save` if you have not already done so. Afterwards, extend your project's `babel.config.js` to contain the expected presets for E2E testing.
```js
const { babelConfig: e2eBabelConfig } = require( '@woocommerce/e2e-environment' );