babel/packages/babel-plugin-transform-modules-commonjs
Huáng Jùnliàng 14572e1881
Sort module export names (#13788)
* fix: sort export init statements by name

* update test fixtures

* refactor: reduce memory footprint

* review comments
2021-09-26 10:12:18 -04:00
..
2021-09-26 10:12:18 -04: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