mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 01:15:55 +03:00
[GH-ISSUE #1212] Output only used SVG files into build folder #564
Labels
No labels
3rd-party
3rd-party
bug
code
documentation
enhancement
fixed-in-master
flag-request
help needed
missing-flag
missing-flag
pull-request
wrong-flag
wrong-flag
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flag-icons#564
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @petr-jilek on GitHub (Jan 14, 2024).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/1212
When I installed flag-icons in the react project using
npm install flag-icons, and used only one icon. When I built the project, there were all SVG files inbuild/static/media folder. However, these files, for example, slow down the deployment process using GitHub actions when transferred using FTP. Is it possible to output only used icons?@lipis commented on GitHub (Feb 19, 2024):
Not sure how to easily implement that, what I usually recommend.. just use the flags that you need.. they are not updated that often.. and from time to time use the latest :)