mirror of
https://github.com/gosticks/svgr.git
synced 2026-10-06 15:47:10 +00:00
- Replace h2x by rehype + babel - Move jsx, prettier and svgo into separated plugins BREAKING CHANGE: - `template` option must now returns a Babel AST - `@svgr/core` does not include svgo & prettier by default
263 B
263 B
@svgr/babel-plugin-remove-jsx-empty-expression
Install
npm install --save-dev @svgr/babel-plugin-remove-jsx-empty-expression
Usage
.babelrc
{
"plugins": ["@svgr/babel-plugin-remove-jsx-empty-expression"]
}
License
MIT