PR-URL: https://github.com/nodejs/node/pull/39924 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
19 lines
441 B
Markdown
19 lines
441 B
Markdown
# @babel/plugin-syntax-import-assertions
|
|
|
|
> Allow parsing of the module assertion attributes in the import statement
|
|
|
|
See our website [@babel/plugin-syntax-import-assertions](https://babeljs.io/docs/en/babel-plugin-syntax-import-assertions) for more information.
|
|
|
|
## Install
|
|
|
|
Using npm:
|
|
|
|
```sh
|
|
npm install --save-dev @babel/plugin-syntax-import-assertions
|
|
```
|
|
|
|
or using yarn:
|
|
|
|
```sh
|
|
yarn add @babel/plugin-syntax-import-assertions --dev
|
|
```
|