i am working on PWA project which should generate pdf offline once the user enters data, so far i am using html2pdf library and i can produce the pdf but when i tried to add