react-svg-loader
react-svg-loader copied to clipboard
fractional values in style tag
when using fractional property values in the tag, the style throws an error webpack config
{
test: /\.svg$/,
use: [
{
loader: "babel-loader"
},
{
loader: "react-svg-loader",
options: {
svgo: {
plugins: [
{
removeViewBox: false,
inlineStyles: false,
removeStyleElement: false
}
]
}
}
}
]
}