{"library":"babel-plugin-inline-react-svg","type":"library","category":null,"description":"A Babel plugin (v2.0.2) that transforms SVG file imports into inline React components, using SVGO for optimization. Stable but infrequently updated (last release ~2019). Alternatives like @svgr/webpack are more actively maintained and support broader use cases. Requires @babel/core ^7.0.0 as a peer dependency. Works in Node.js >=10.13, not browser-native.","language":"javascript","status":"maintenance","version":"2.0.2","tags":["javascript","babel","plugin","react","svg","inline"],"last_verified":"Sat Apr 25","install":[{"cmd":"npm install babel-plugin-inline-react-svg","imports":["import plugin from 'babel-plugin-inline-react-svg'","plugins: ['inline-react-svg']","import * as React from 'react';\nimport Icon from './icon.svg';"]},{"cmd":"yarn add babel-plugin-inline-react-svg","imports":[]},{"cmd":"pnpm add babel-plugin-inline-react-svg","imports":[]}],"homepage":null,"github":"https://github.com/kesne/babel-plugin-inline-react-svg","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-inline-react-svg","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}