1.0.0 • Published 7 years ago
babel-plugin-transform-remove-export v1.0.0
babel-plugin-transform-remove-export
This plugin removes all export
calls.
Example
In
export const a = 1
export default ''
Out
Installation
npm install babel-plugin-transform-remove-export
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["transform-remove-export"]
}
Via CLI
babel --plugins transform-remove-export script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["transform-remove-export"]
});
1.0.0
7 years ago