jaywcjlove/svgtofont

Template file is not used when named with .template extension

lennartmoeller opened this issue · 0 comments

I only have one template file as I only want to generate a scss file. If I name it "_{filename}}.scss", the scss file is generated correctly. If I generate it with "_{filename}}.scss.template" no scss file is generated. I looked in the source code and found no cause for this behavior. Does anyone else have this problem?

My config:

{
  "classNamePrefix": "icon",
  "fontName": "example-icons",
  "website": false,
  "css": {
    "cssPath": "fonts/",
    "include": "\\.(scss)$",
    "output": "./path/to/Icons/scss"
  },
  "styleTemplates": "./path/to/Icons/templates"
}