@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