diff options
Diffstat (limited to 'node_modules/babel-plugin-transform-es2015-block-scoped-functions/README.md')
-rw-r--r-- | node_modules/babel-plugin-transform-es2015-block-scoped-functions/README.md | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/node_modules/babel-plugin-transform-es2015-block-scoped-functions/README.md b/node_modules/babel-plugin-transform-es2015-block-scoped-functions/README.md deleted file mode 100644 index 4119eb9..0000000 --- a/node_modules/babel-plugin-transform-es2015-block-scoped-functions/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# babel-plugin-transform-es2015-block-scoped-functions - -> Babel plugin to ensure function declarations at the block level are block scoped. - -## Installation - -```sh -npm install --save-dev babel-plugin-transform-es2015-block-scoped-functions -``` - -## Usage - -### Via `.babelrc` (Recommended) - -**.babelrc** - -```json -{ - "plugins": ["transform-es2015-block-scoped-functions"] -} -``` - -### Via CLI - -```sh -babel --plugins transform-es2015-block-scoped-functions script.js -``` - -### Via Node API - -```javascript -require("babel-core").transform("code", { - plugins: ["transform-es2015-block-scoped-functions"] -}); -``` |