@babel/plugin-transform-json-modules

v7.28.0

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


npm install @babel/plugin-transform-json-modules
Bundle size

Source code on GitHub