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