mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
20 lines
486 B
Markdown
20 lines
486 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/babel-plugin-transform-block-scoped-functions) 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
|
||
|
|
```
|