1.0.4 • Published 7 years ago

babel-plugin-unexport v1.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
7 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

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago