* Node modules compatibility: add ".js" extension to imported polyfills * Update fixtures * add extensions on calling `addDefaultImport()`, not in the function.
@babel/plugin-transform-runtime
Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals
See our website @babel/plugin-transform-runtime for more information.
Install
Using npm:
npm install --save-dev @babel/plugin-transform-runtime
or using yarn:
yarn add @babel/plugin-transform-runtime --dev