JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1286
  • Score
    100M100P100Q115145F
  • License MIT

Transform json modules imports (`import '...' with { type: 'json' }`) to work in browsers and Node.js.

Package Exports

  • @babel/plugin-transform-json-modules
  • @babel/plugin-transform-json-modules/package.json

Readme

@babel/plugin-transform-json-modules

Transform json modules imports (import '...' with { type: 'json' }) to work in browsers and Node.js.

See our website @babel/plugin-transform-json-modules for more information.

Install

Using npm:

npm install --save-dev @babel/plugin-transform-json-modules

or using yarn:

yarn add @babel/plugin-transform-json-modules --dev