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