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

Npm script and .svgtofontrc file #211

Closed
bckthomas opened this issue Sep 6, 2023 · 2 comments
Closed

Npm script and .svgtofontrc file #211

bckthomas opened this issue Sep 6, 2023 · 2 comments

Comments

@bckthomas
Copy link

bckthomas commented Sep 6, 2023

Hi,
I use svgtofont 4.0.0 with a npm script "svgfont": "svgtofont --sources Resources/Private/Src/Icons --output Resources/Public/Fonts"

I have this config in config/.svgtofontrc

{
  "fontName": "icon",
  "css": true
}

When I execute npm run svgfont, font is created with svgtofont name, not icon, and the css files are not created. It seems that the config file is not used.

Can someone help me please ?
Thanks

@bckthomas bckthomas changed the title Cli and .svgtofontrc file Npm script and .svgtofontrc file Sep 6, 2023
jaywcjlove added a commit that referenced this issue Sep 6, 2023
@jaywcjlove
Copy link
Owner

@bckthomas The error is not reproducible, please provide an example of how the error can be reproduced

github-actions bot pushed a commit that referenced this issue Sep 6, 2023
@bckthomas
Copy link
Author

Ok, my bad, svg file contained errorrs

@bckthomas bckthomas closed this as not planned Won't fix, can't repro, duplicate, stale Sep 6, 2023
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

2 participants