You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thanks for sharing this starter project. I'm trying to understand the use of the vite plugin before integrating it into my project.
I'm currently confused by the fact that the assets are currently copied over twice into the webserver:
that is: public/assets/ gets copied as _site/assets/ and as well as _site/public/assets/.
by reading other comments, there seems to be a restriction in using assets as a directory name for vite to pick up images, but not sure about the rest... any help would be greatly appreciated 🙏
The text was updated successfully, but these errors were encountered:
This is a bit confusing indeed. I had the same reaction. I also saw only happening when you are in development mode where vite is used as a middleware. I assume vite passes public static assets to assets this way as the public folder is not passed through addPassthroughCopy.
First off, thanks for sharing this starter project. I'm trying to understand the use of the vite plugin before integrating it into my project.
I'm currently confused by the fact that the assets are currently copied over twice into the webserver:
that is:
public/assets/
gets copied as_site/assets/
and as well as_site/public/assets/
.by reading other comments, there seems to be a restriction in using
assets
as a directory name for vite to pick up images, but not sure about the rest... any help would be greatly appreciated 🙏The text was updated successfully, but these errors were encountered: