mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
@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:
npm install --save-dev @babel/plugin-proposal-import-attributes-to-assertions
or using yarn:
yarn add @babel/plugin-proposal-import-attributes-to-assertions --dev