babel/packages/babel-plugin-transform-modules-commonjs
Lively 950d3519e8
fix destructuring of empty string (#13444)
* fix destructuring empty string

* use variable on expect

* overwrite all tests

* fix test cases
2021-06-14 17:07:12 +02:00
..
2021-06-09 23:03:30 +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