* Changes UMD callsite to be more likely to pass in the intended object. Fixes #10476 Note: This PR should be considered pseudocode and used as an illustration of the proposed fix. I do not know nearly enough about this project to know if this is an appropriate solution to the problem, nor do I have the confidence to update the tests appropriately. * Update tests
@babel/plugin-transform-function-name
Apply ES2015 function.name semantics to all functions
See our website @babel/plugin-transform-function-name for more information.
Install
Using npm:
npm install --save-dev @babel/plugin-transform-function-name
or using yarn:
yarn add @babel/plugin-transform-function-name --dev