Hi. What is the purpose of adding generated fonts to .gitignore? I though that we want to save them in a package that we publish, so if someone downloads it they can use it immediately by importing .css file.
Hey sorry I totally missed this. Basically you should never commit generated files within a Git repository. What you publish in your package is not the same as what you store in your Git repo. That is why, for instance, you would not commit the generated JS files from a TS project
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi. What is the purpose of adding generated fonts to .gitignore? I though that we want to save them in a package that we publish, so if someone downloads it they can use it immediately by importing .css file.
Hey sorry I totally missed this. Basically you should never commit generated files within a Git repository. What you publish in your package is not the same as what you store in your Git repo. That is why, for instance, you would not commit the generated JS files from a TS project