Open rezasohrabi opened 3 months ago
I had a similar issue, then solved the issue by increasing the version from
"@crxjs/vite-plugin": "^1.0.14",
"vite": "^2.9.15",
to
"@crxjs/vite-plugin": "^2.0.0-beta.25",
"vite": "^4.2.2"
Yeah, works for me no problem
"jspdf": "^2.5.1",
"@crxjs/vite-plugin": "^2.0.0-beta.23",
"vite": "^5.2.11",
Build tool
Rollup
Where do you see the problem?
Describe the bug
hi i use jspdf and html2canvas-pro to generate pdf of current page, everythin in development is ok, but when i try build the extension this error occurs how to fix this build error?
Reproduction
when i import and use jspdf in my extension this error occurs
import { jsPDF } from 'jspdf'; const pdf = new jsPDF('p', 'mm', 'a4');
Logs
System Info
Severity
annoyance