While using sv2pdf in a project, I faced a Failed to parse source map error. I found this solution and now it's resolved. The solution was to just add GENERATE_SOURCEMAP=false to the .env file.
However, I am not sure about the possible side effects of this solution. According to the official Create React App docs, it is ignored while in development yet used in production. Am I risking something by using this?
 
    