Download images referenced in a cms on a static site
Unanswered
Brown bear posted this in #help-forum
Brown bearOP
Hello! I am using a headless cms which has some images uploaded on it. I now want to download those images in the public folder each time im building the static site. I made a helper function called downloadImage which uses 'fs', however I get this error
What solution do i have here?
Module not found: Can't resolve 'fs'.What solution do i have here?