diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md index acec2767b84e..d7b68df56b04 100644 --- a/docs/GettingStarted.md +++ b/docs/GettingStarted.md @@ -91,6 +91,8 @@ yarn add --dev babel-jest babel-core regenerator-runtime > yarn add --dev babel-jest babel-core@^7.0.0-bridge.0 @babel/core regenerator-runtime > ``` > +> You will need to use babel.config.js in order to transpile `node_modules`. See https://babeljs.io/docs/en/next/config-files for more information. +> > You can also see the example in the Jest repository: https://github.com/facebook/jest/tree/master/examples/babel-7 _Note: Explicitly installing `regenerator-runtime` is not needed if you use `npm` 3 or 4 or Yarn_ diff --git a/website/versioned_docs/version-22.0/GettingStarted.md b/website/versioned_docs/version-22.0/GettingStarted.md index 98a640214aac..c1f70cdb3798 100644 --- a/website/versioned_docs/version-22.0/GettingStarted.md +++ b/website/versioned_docs/version-22.0/GettingStarted.md @@ -84,6 +84,8 @@ npm install --save-dev babel-jest babel-core regenerator-runtime > npm install --save-dev babel-jest babel-core@^7.0.0-bridge.0 @babel/core regenerator-runtime > ``` > +> You will need to use babel.config.js in order to transpile `node_modules`. See https://babeljs.io/docs/en/next/config-files for more information. +> > You can also see the example in the Jest repository: https://github.com/facebook/jest/tree/master/examples/babel-7 _Note: Explicitly installing `regenerator-runtime` is not needed if you use `npm` 3 or 4 or Yarn_ diff --git a/website/versioned_docs/version-22.1/GettingStarted.md b/website/versioned_docs/version-22.1/GettingStarted.md index f06f12c0ed0d..af854072286f 100644 --- a/website/versioned_docs/version-22.1/GettingStarted.md +++ b/website/versioned_docs/version-22.1/GettingStarted.md @@ -84,6 +84,8 @@ npm install --save-dev babel-jest babel-core regenerator-runtime > npm install --save-dev babel-jest babel-core@^7.0.0-bridge.0 @babel/core regenerator-runtime > ``` > +> You will need to use babel.config.js in order to transpile `node_modules`. See https://babeljs.io/docs/en/next/config-files for more information. +> > You can also see the example in the Jest repository: https://github.com/facebook/jest/tree/master/examples/babel-7 _Note: Explicitly installing `regenerator-runtime` is not needed if you use `npm` 3 or 4 or Yarn_ diff --git a/website/versioned_docs/version-22.2/GettingStarted.md b/website/versioned_docs/version-22.2/GettingStarted.md index ec17fbf76485..51053c6df3aa 100644 --- a/website/versioned_docs/version-22.2/GettingStarted.md +++ b/website/versioned_docs/version-22.2/GettingStarted.md @@ -84,6 +84,8 @@ npm install --save-dev babel-jest babel-core regenerator-runtime > npm install --save-dev babel-jest babel-core@^7.0.0-bridge.0 @babel/core regenerator-runtime > ``` > +> You will need to use babel.config.js in order to transpile `node_modules`. See https://babeljs.io/docs/en/next/config-files for more information. +> > You can also see the example in the Jest repository: https://github.com/facebook/jest/tree/master/examples/babel-7 _Note: Explicitly installing `regenerator-runtime` is not needed if you use `npm` 3 or 4 or Yarn_ diff --git a/website/versioned_docs/version-22.3/GettingStarted.md b/website/versioned_docs/version-22.3/GettingStarted.md index 502f5172bee4..58fefedecfb1 100644 --- a/website/versioned_docs/version-22.3/GettingStarted.md +++ b/website/versioned_docs/version-22.3/GettingStarted.md @@ -84,6 +84,8 @@ npm install --save-dev babel-jest babel-core regenerator-runtime > npm install --save-dev babel-jest babel-core@^7.0.0-bridge.0 @babel/core regenerator-runtime > ``` > +> You will need to use babel.config.js in order to transpile `node_modules`. See https://babeljs.io/docs/en/next/config-files for more information. +> > You can also see the example in the Jest repository: https://github.com/facebook/jest/tree/master/examples/babel-7 _Note: Explicitly installing `regenerator-runtime` is not needed if you use `npm` 3 or 4 or Yarn_ diff --git a/website/versioned_docs/version-22.4/GettingStarted.md b/website/versioned_docs/version-22.4/GettingStarted.md index 8551b6187b82..d3091d08e5ba 100644 --- a/website/versioned_docs/version-22.4/GettingStarted.md +++ b/website/versioned_docs/version-22.4/GettingStarted.md @@ -84,6 +84,8 @@ yarn add --dev babel-jest babel-core regenerator-runtime > yarn add --dev babel-jest babel-core@^7.0.0-bridge.0 @babel/core regenerator-runtime > ``` > +> You will need to use babel.config.js in order to transpile `node_modules`. See https://babeljs.io/docs/en/next/config-files for more information. +> > You can also see the example in the Jest repository: https://github.com/facebook/jest/tree/master/examples/babel-7 _Note: Explicitly installing `regenerator-runtime` is not needed if you use `npm` 3 or 4 or Yarn_ diff --git a/website/versioned_docs/version-23.2/GettingStarted.md b/website/versioned_docs/version-23.2/GettingStarted.md index 97424812cecf..fb7a562c1e0e 100644 --- a/website/versioned_docs/version-23.2/GettingStarted.md +++ b/website/versioned_docs/version-23.2/GettingStarted.md @@ -92,6 +92,8 @@ yarn add --dev babel-jest babel-core regenerator-runtime > yarn add --dev babel-jest babel-core@^7.0.0-bridge.0 @babel/core regenerator-runtime > ``` > +> You will need to use babel.config.js in order to transpile `node_modules`. See https://babeljs.io/docs/en/next/config-files for more information. +> > You can also see the example in the Jest repository: https://github.com/facebook/jest/tree/master/examples/babel-7 _Note: Explicitly installing `regenerator-runtime` is not needed if you use `npm` 3 or 4 or Yarn_