-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
[v1] Confusing "No icons detected!" message #176
Comments
I have the same problem, except that the icons cannot be referenced.
The youtube.svg file is present. I don't know why it is not detected. My configuration:
I am using I found I can solve or circumvent the problem if I explicitly configure the default path:
The above "fix" only works if I don't use any subfolders under "src/icons". So my reference must look like |
* fix(#176): removes warning when no icon packs are found * chore(lint): Prettier fix --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
What version of
astro-icon
are you using?v1.0.1
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
During build or starting a dev server without collections, but with icons in src/icons folder, the message "No icons detected!" gets printed. This is quite misleading, because in my case icons from src/icons were detected and displayed correctly.
What's the expected result?
The message should be more like "No collection icons detected!"
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-mbnz9k?file=src%2Fpages%2Findex.astro
The text was updated successfully, but these errors were encountered: