1.0.0 • Published 9 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-exportUsage
Via .babelrc (Recommended)
.babelrc
{
"plugins": ["transform-remove-export"]
}Via CLI
babel --plugins transform-remove-export script.jsVia Node API
require("babel-core").transform("code", {
plugins: ["transform-remove-export"]
});1.0.0
9 years ago