JSPM

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

Transform SVG to use em-based dimensions

Package Exports

  • @svgr/babel-plugin-svg-em-dimensions
  • @svgr/babel-plugin-svg-em-dimensions/package.json

Readme

@svgr/babel-plugin-svg-em-dimensions

Install

npm install --save-dev @svgr/babel-plugin-svg-em-dimensions

Usage

.babelrc

{
  "plugins": [
    ["@svgr/babel-plugin-svg-em-dimensions", { "width": 24, "height": 24 }]
  ]
}

License

MIT