You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this commit an loadImageFile method was added. In this method you require the node module "fs" / filesystem. Even if this code will never be executed in a browser, modern web bundlers will try to require a module named "fs". But of course there isn't any. The current build can't be used in a webpack based environment. The error message when trying to use jsPDF as a module:
ERROR in .../jspdf.js
Module not found: Error: Can't resolve 'fs' in '.../'