Sha256: 14dd479b0726370b9798b6f8ed128f2327e1c6e8049ba6612cc58ff3a7a77a0f

Contents?: true

Size: 520 Bytes

Versions: 8

Compression:

Stored size: 520 Bytes

Contents

# babel-plugin-transform-es2015-block-scoping

Compile ES2015 block scoping (const and let) to ES5

## Installation

```sh
$ npm install babel-plugin-transform-es2015-block-scoping
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
  "plugins": ["transform-es2015-block-scoping"]
}
```

### Via CLI

```sh
$ babel --plugins transform-es2015-block-scoping script.js
```

### Via Node API

```javascript
require("babel-core").transform("code", {
  plugins: ["transform-es2015-block-scoping"]
});
```

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
babel-schmooze-sprockets-0.1.3 node_modules/babel-plugin-transform-es2015-block-scoping/README.md
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-transform-es2015-block-scoping/README.md
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-transform-es2015-block-scoping/README.md
babel-schmooze-sprockets-0.1.0 node_modules/babel-plugin-transform-es2015-block-scoping/README.md
babel-schmooze-sprockets-0.1.0.alpha.3 node_modules/babel-plugin-transform-es2015-block-scoping/README.md
babel-schmooze-sprockets-0.1.0.alpha.2 node_modules/babel-plugin-transform-es2015-block-scoping/README.md
es6_tilt-0.1.2 test/dummy/node_modules/babel-plugin-transform-es2015-block-scoping/README.md
es6_tilt-0.1.1 test/dummy/node_modules/babel-plugin-transform-es2015-block-scoping/README.md