We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 170da3a commit 5add426Copy full SHA for 5add426
2 files changed
src/plugin/jspdf-plugin.js
@@ -1,5 +1,5 @@
1
// Import dependencies.
2
-import { jsPDF } from 'jspdf';
+import { jsPDF } from 'jspdf/dist/jspdf.es.min.js';
3
4
// Get dimensions of a PDF page, as determined by jsPDF.
5
jsPDF.getPageSize = function(orientation, unit, format) {
src/worker.js
@@ -1,4 +1,4 @@
import html2canvas from 'html2canvas';
import { deepCloneBasic } from './snapdom/clone.js';
import { objType, createElement, toPx } from './utils.js';
0 commit comments