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