mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
chore: fix example in babel-preset-app readme
This commit is contained in:
parent
311a299a54
commit
4ca253e0b8
@ -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.
|
**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
|
```sh
|
||||||
yarn add --dev core-js@2 @babel/runtime-corejs2
|
yarn add --dev core-js@3 @babel/runtime-corejs3
|
||||||
```
|
```
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
Loading…
Reference in New Issue
Block a user