#assets build
1 messages · Page 1 of 1 (latest)
"not referenced in any way" is not 100% correct - i use/reference sprite.svg for icons in html markup (.astro files), but this also wont build (hashed and placed in dist/assets) .. so i got only icons which are referenced in stylesheets, but I do need all of them, even if there not used in css
Create a "public" folder, build will copy its contents to dist even if the files are never referenced: https://vitejs.dev/guide/assets#the-public-directory