-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Favicon not found when base is set by command line #3869
Labels
enhancement
New feature or request
Comments
brc-dd
added
enhancement
New feature or request
and removed
bug: pending triage
Maybe a bug, waiting for confirmation
labels
May 8, 2024
help~~😂😂 |
You currently cannot. You can use some environment variable instead: BASE='/' pnpm run build In config: base: process.env.BASE,
... href: `${process.env.BASE || '/'}favicon.ico` ... |
cool...I'll give it a try.thanks homie.😘😘 |
Don't use |
ok, cool, bro~~ It worked. thanks 😘😘 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
I need to build on two websites, one of which cannot find Favicon when using
How to dynamically specify base using the command line in Favicon?
Reproduction
How to dynamically specify base using the command line in Favicon?
Expected behavior
The Favicon configuration has added a base, which can still be dynamically specified through the command line
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: