chore: fix example in babel-preset-app readme

This commit is contained in:
Xin Du (Clark) 2019-09-23 16:23:25 +01:00 committed by GitHub
parent 311a299a54
commit 4ca253e0b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ export default {
**NOTE**: Make sure that all dependencies have been upgraded to use core-js@3. If core-js@2 and core-js@3 are both dependent, babel may resolve incorrect core-js package which is hoisted by yarn/npm.
```sh
yarn add --dev core-js@2 @babel/runtime-corejs2
yarn add --dev core-js@3 @babel/runtime-corejs3
```
```js