Closed cahyowhy closed 3 years ago
Can you test if this happens with specific icons by only letting the plugin generate a spritemap for a single icon file? If you've found one, could you include it in this issue?
Also, you might want to set the styles.keepAttributes
option to true
. I'm pretty sure that should solve it either way.
thanks for replying.. i thinks this is related to cssnano. gonna close this
got an error
CSS minification error: postcss-svgo: Error in parsing SVG: Unbound namespace prefix: "xlink"
while running npm run build. But on dev it seems fine.. this is my configurationbtw i use this version..
"svg-spritemap-webpack-plugin": "3.7.1",
this is my node versionv10.16.3
thanks..