When the `runtime` flag is on (by default), this plugin adds a new helper which wraps the native `RegExp` class to provide groups support. People nees to use a polyfill (I implemented it in core-js) for browsers that don't support ES6 regexps.
@babel/helpers
Collection of helper functions used by Babel transforms.
See our website @babel/helpers for more information.
Install
Using npm:
npm install --save-dev @babel/helpers
or using yarn:
yarn add @babel/helpers --dev