-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Build into dist root #14
Comments
This defaults to vite assest directory option. You can control it using the vite config as mentioned here |
@JohnPremKumar yes, but then all my assets will be in one folder, and I wanted favicon related stuff to be in root(dist/), while other assets in dist/assets.
Update: actually this library is much better than provided website, I just encountered a caching issue. The favicons are generated correctly. But I still need some option to build into root, and not into assets. From description of Vite I see that it's hardly posible. But keeping assets in one folder is also something that is important. But according to that website my favicon.ico has to be in root. So idk, I'm on a crossroads now, what to do. |
I will check about the part to provide the option override the asset dir. In the meantime, you can try using the plugins like vite-plugin-static-copy to copy favicon file in to your desired location. |
Actually I just used that website to create an ico and put it into public folder.It's "different" from what your plugin generates, but that's better than nothing. But thanks, I'll take a look at what you shared. |
Hi, I want to put the result of your plugin under root of dist and not into dist/assets. How do I do that? How do I postpocess the result of your plugin?
I need at least favicon.ico to be accessible through my.website.com/favicon.ico, and not my.website.com/assets/favicon.ico.
The text was updated successfully, but these errors were encountered: