mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 19:45:09 +08:00
20 lines
542 B
Markdown
20 lines
542 B
Markdown
|
|
# @babel/plugin-bugfix-safari-class-field-initializer-scope
|
||
|
|
|
||
|
|
> Wrap class field initializers with IIFE to workaround https://webkit.org/b/236843
|
||
|
|
|
||
|
|
See our website [@babel/plugin-bugfix-safari-class-field-initializer-scope](https://babeljs.io/docs/babel-plugin-bugfix-safari-class-field-initializer-scope) for more information.
|
||
|
|
|
||
|
|
## Install
|
||
|
|
|
||
|
|
Using npm:
|
||
|
|
|
||
|
|
```sh
|
||
|
|
npm install --save-dev @babel/plugin-bugfix-safari-class-field-initializer-scope
|
||
|
|
```
|
||
|
|
|
||
|
|
or using yarn:
|
||
|
|
|
||
|
|
```sh
|
||
|
|
yarn add @babel/plugin-bugfix-safari-class-field-initializer-scope --dev
|
||
|
|
```
|