Imgit with Astro fetches the file from the public directory. But there are many instances where I want to fetch images from the /src/assets directory instead (since I use Astro's image optimization tool as well). Is it possible to remove the /public?
Example
// Passed in value
const test = await import('imgit:/asset/image.png')
// Path used now
// /absolute-path-to-project/public/src/asset/image.png
// Preferred path
// /absolute-path-to-project/src/asset/image.png
Imgit with Astro fetches the file from the public directory. But there are many instances where I want to fetch images from the
/src/assets
directory instead (since I use Astro's image optimization tool as well). Is it possible to remove the/public
?