Closed dario-genga closed 5 months ago
You'll need to reference (use) the image for it to be processed — and be copied over to public
For example:
![Alt text](images/dylan-shaw-XNOGg2MsGpk-unsplash.jpg)
public
directory:
├── images
│ └── dylan-shaw-XNOGg2MsGpk-unsplash_hu05e9368bbbdd4df7268c6b3177992462_682799_2400x1600_resize_q85_h2_lan
See also: https://images.gethyas.com/
Description
The images added in the folder
assets/
are not mounted in thepublic/
orresources
folder after anpm run build
, with the exception of the favicon who is the only image present after abuild
orrun
.Steps to reproduce
npm create hyas@latest -- --template doks
npm install
assets/images
folder with a name likemy_image.jpg
.npm run build
public/
andresources
)Expected result
You should be able to find the image in the generated folder after a build.
Actual result
The image is missing.
Environment