mirror of https://github.com/jkjoy/sunpeiwen.git
20 lines
421 B
Markdown
20 lines
421 B
Markdown
# @babel/plugin-syntax-top-level-await
|
|
|
|
> Allow parsing of top-level await in modules
|
|
|
|
See our website [@babel/plugin-syntax-top-level-await](https://babeljs.io/docs/en/babel-plugin-syntax-top-level-await) for more information.
|
|
|
|
## Install
|
|
|
|
Using npm:
|
|
|
|
```sh
|
|
npm install --save-dev @babel/plugin-syntax-top-level-await
|
|
```
|
|
|
|
or using yarn:
|
|
|
|
```sh
|
|
yarn add @babel/plugin-syntax-top-level-await --dev
|
|
```
|