-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Exclude original images from output dir #8143
Copy link
Copy link
Closed
Labels
- P2: nice to haveNot breaking anything but nice to have (priority)Not breaking anything but nice to have (priority)feat: assetsRelated to the Assets feature (scope)Related to the Assets feature (scope)
Description
What version of astro are you using?
2.10.9
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the Bug
Hi guys!
I'm using Astro with the assets module.
After executing the command - astro build, my cache folder contains image thumbnails.
But the original images are also in the cache folder.
Is it possible to add some setting to adjust Astro to remove original images?
The original images weigh a lot and slow down the deployment process to github pages.
What's the expected result?
There are no original images in the cache folder.
Link to Minimal Reproducible Example
https://github.com/pkolt/pkolt.ru
Participation
- I am willing to submit a pull request for this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- P2: nice to haveNot breaking anything but nice to have (priority)Not breaking anything but nice to have (priority)feat: assetsRelated to the Assets feature (scope)Related to the Assets feature (scope)