@babel/code-frame
Generate errors that contain a code frame that point to source locations.
See our website @babel/code-frame for more information.
Install
Using npm:
npm install --save-dev @babel/code-frame
or using yarn:
yarn add @babel/code-frame --dev
View source
| 1 | # @babel/code-frame |
| 2 | |
| 3 | > Generate errors that contain a code frame that point to source locations. |
| 4 | |
| 5 | See our website [@babel/code-frame](https://babeljs.io/docs/babel-code-frame) for more information. |
| 6 | |
| 7 | ## Install |
| 8 | |
| 9 | Using npm: |
| 10 | |
| 11 | ```sh |
| 12 | npm install --save-dev @babel/code-frame |
| 13 | ``` |
| 14 | |
| 15 | or using yarn: |
| 16 | |
| 17 | ```sh |
| 18 | yarn add @babel/code-frame --dev |
| 19 | ``` |