JSPM

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

Remove JSX attribute

Package Exports

  • @svgr/babel-plugin-remove-jsx-attribute

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@svgr/babel-plugin-remove-jsx-attribute) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@svgr/babel-plugin-remove-jsx-attribute

Install

npm install --save-dev @svgr/babel-plugin-remove-jsx-attribute

Usage

.babelrc

{
  "plugins": [
    [
      "@svgr/babel-plugin-remove-jsx-attribute",
      {
        "elements": ["svg"],
        "attributes": ["width", "height"]
      }
    ]
  ]
}

License

MIT