@babel/plugin-proposal-import-attributes-to-assertions
Version:
Transform the Import Attributes proposal (`import ... from '...' with { ... }`) to the previous version known as Import Assertions (`import ... from '...' assert { ... }`).
20 lines (12 loc) • 618 B
Markdown
# @babel/plugin-proposal-import-attributes-to-assertions
> Transform the Import Attributes proposal (`import ... from '...' with { ... }`) to the previous version known as Import Assertions (`import ... from '...' assert { ... }`).
See our website [@babel/plugin-proposal-import-attributes-to-assertions](https://babeljs.io/docs/babel-plugin-proposal-import-attributes-to-assertions) for more information.
## Install
Using npm:
```sh
npm install --save-dev @babel/plugin-proposal-import-attributes-to-assertions
```
or using yarn:
```sh
yarn add @babel/plugin-proposal-import-attributes-to-assertions --dev
```