mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-03 05:04:51 +08:00
CHANGE docs for migrating to babel 7
This commit is contained in:
parent
3dec3ba9e9
commit
5b9226bc28
@ -84,7 +84,7 @@ Storybook now uses Babel 7. There's a couple of cases when it can break with you
|
||||
|
||||
* If you aren't using Babel yourself, and don't have .babelrc, install following dependencies:
|
||||
```
|
||||
npm i -D babel-core@bridge @babel/core babel-loader@next
|
||||
npm i -D babel-loader@next
|
||||
```
|
||||
* If you're using Babel 6, make sure that you have direct dependencies on `babel-core@6` and `babel-loader@7`.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user