babel/packages/babel-plugin-transform-modules-commonjs
Nicolò Ribaudo 8fb50429ea
Throw a better error when transforming imported bindings in types (#13739)
* Throw a better error when transforming imported bindings in types

* Also type casts

* Update error message
2021-09-16 23:14:41 +02:00
..
2021-09-02 21:28:31 +00:00

@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