Skip to content

Commit 3f762d5

Browse files
committed
Prevent publishing bundles/mins/tests to npm
1 parent d97c69e commit 3f762d5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.npmignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"main": "dist/require/html2pdf.cjs.js",
66
"module": "dist/include/html2pdf.es.js",
77
"browser": "dist/html2pdf.js",
8+
"files": [
9+
"/src",
10+
"/dist",
11+
"!**/*.{bundle*,min}.js"
12+
],
813
"repository": {
914
"type": "git",
1015
"url": "git+https://github.com/eKoopmans/html2pdf.js.git"

0 commit comments

Comments
 (0)