Back to Babel

@babel/plugin-proposal-import-attributes-to-assertions

packages/babel-plugin-proposal-import-attributes-to-assertions/README.md

7.29.5617 B
Original Source

@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 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