JSPM

  • Created
  • Published
  • Downloads 18965
  • Score
    100M100P100Q168667F
  • License MIT

Transform the Import Attributes proposal (`import ... from '...' with { ... }`) to the previous version known as Import Assertions (`import ... from '...' assert { ... }`).

Package Exports

  • @babel/plugin-proposal-import-attributes-to-assertions
  • @babel/plugin-proposal-import-attributes-to-assertions/package.json

Readme

@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