* fix: add file extention when the absolute path to the runtime files are used (#12824) the es module imports need the file extention (e.g. import "@babel/runtime/helpers/jsx.js", Or the filenames being listed in the package.json's subpath exports (e.g. "import "@babel/runtime/helpers/jsx" + pkg: "./helpers/jsx": "./helpers/jsx.js"). when the user passes a path via `absoluteRuntime` then the rendered require staemnts is not the module name + subpath which will be resolved via pkg.json but rather the absolute path to the file. for this case, add the file extention / index.js to prevent bundlers from raising a warning. * Update deps * Fix imports resolution * Update fixtures (Windows) Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com> Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
@babel/plugin-proposal-async-generator-functions
Turn async generator functions into ES2015 generators
See our website @babel/plugin-proposal-async-generator-functions for more information.
Install
Using npm:
npm install --save-dev @babel/plugin-proposal-async-generator-functions
or using yarn:
yarn add @babel/plugin-proposal-async-generator-functions --dev