20 lines
499 B
Markdown
20 lines
499 B
Markdown
|
# @babel/plugin-transform-block-scoped-functions
|
||
|
|
||
|
> Babel plugin to ensure function declarations at the block level are block scoped
|
||
|
|
||
|
See our website [@babel/plugin-transform-block-scoped-functions](https://babeljs.io/docs/en/next/babel-plugin-transform-block-scoped-functions.html) for more information.
|
||
|
|
||
|
## Install
|
||
|
|
||
|
Using npm:
|
||
|
|
||
|
```sh
|
||
|
npm install --save-dev @babel/plugin-transform-block-scoped-functions
|
||
|
```
|
||
|
|
||
|
or using yarn:
|
||
|
|
||
|
```sh
|
||
|
yarn add @babel/plugin-transform-block-scoped-functions --dev
|
||
|
```
|