1.0.4 • Published 8 years ago

babel-plugin-unexport v1.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

babel-plugin-unexport

This plugin allows Babel to remove export directives, declaration will remain.

Example

In

export function fname() {
}

Out

function fname() {
}

Installation

npm install --save-dev babel-plugin-unexport

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["unexport"]
}

Via CLI

babel --plugins unexport script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["unexport"]
});
1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago