Skip to content

Commit 7fc39c1

Browse files
committed
add a "browser" field so jsPDF works with parcel 2
1 parent 320585f commit 7fc39c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"description": "PDF Document creation from JavaScript",
66
"main": "dist/jspdf.node.min.js",
77
"module": "dist/jspdf.es.min.js",
8+
"browser": "dist/jspdf.es.min.js",
89
"files": [
910
"dist",
1011
"types/index.d.ts",

0 commit comments

Comments
 (0)