You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thx, a lot for reporting this. This feature is currently not supported. But of course, it would make sense to support it. I will check if I find time for a PR in the next couple of weeks.
Hi, when the filename contains dots in the name, then when the file ts is created, an empty object is output.
for example I have this svg's:
and such a config in package.json:
"svg-to-ts": { "conversionType": "object", "srcFiles": [ "./src/shared/assets/svg/*.svg" ], "outputDirectory": "./src/shared/assets/svg", "fileName": "svg-icons", "svgoConfig": { "plugins": [ { "removeDimensions": true, "cleanupAttrs": true } ] } }
and my output contain empty object
export default {}
if you remove the dots in the file names, then everything works
The text was updated successfully, but these errors were encountered: