Script adds additional space in filename.
fstodulski opened this issue · comments
Franciszek Stodulski commented
Script adds additional space in filename between prefix and icon's filename.
Config:
"svg-to-ts": {
"generateType": "true",
"delimiter": "KEBAB",
"conversionType": "files",
"iconsFolderName": "svg",
"prefix": "app",
"srcFiles": [
"./libs/tetrisly/src/assets/svg/**/*.svg"
],
"outputDirectory": "./libs/tetrisly/src/lib/icons/svg-compiled",
"svgoConfig": {
"plugins": [
{
"removeDimensions": true,
"cleanupAttrs": true
}
]
}
}
Nivek commented
Hi, @fstodulski thanks for reporting this issue.
I tried to reproduce this issue with your configuration in a new starter project. I also tried to reproduce it in svg-to-ts itself. Unfortunately, I couldn't reproduce it. Also svg-to-ts is used across multiple organizations and we never encountered this issue. I guess there must be something wrong with your raw svg-icons or something else. Do you have a reproduction project?