I want to upload a image file from Reactjs which is in my project folder ("../assets.cover.png") without using input, when I'm trying import cover from "../assets.cover.png" it's giving me file path but what I need is file metadata to upload it.
Basically my final intention is to upload that image file and calculate user upload speed.
I was able to resolve it after reading after reading this documentation