Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template file is not used when named with .template extension #186

Open
lennartmoeller opened this issue Nov 16, 2022 · 0 comments
Open

Comments

@lennartmoeller
Copy link

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"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant