* fix: [#10561] _interopRequireWildcard should cache object only * fix: narrow down cache restriction to object/function type * test: add interop require null module case
@babel/plugin-transform-modules-commonjs
This plugin transforms ES2015 modules to CommonJS
See our website @babel/plugin-transform-modules-commonjs for more information.
Install
Using npm:
npm install --save-dev @babel/plugin-transform-modules-commonjs
or using yarn:
yarn add @babel/plugin-transform-modules-commonjs --dev