Generate errors that contain a code frame that point to source locations.
See our website @babel/code-frame for more information.
Using npm:
npm install --save-dev @babel/code-frame
or using yarn:
yarn add @babel/code-frame --dev
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.