diff --git a/.npmignore b/.npmignore deleted file mode 100644 index dffa40b..0000000 --- a/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -node_modules/ -.archive/ -.devel/ -dist/*.bundle*.js -dist/**/*.min.js diff --git a/package.json b/package.json index c5dff33..0d07226 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,11 @@ "main": "dist/require/html2pdf.cjs.js", "module": "dist/include/html2pdf.es.js", "browser": "dist/html2pdf.js", + "files": [ + "/src", + "/dist", + "!**/*.{bundle*,min}.js" + ], "repository": { "type": "git", "url": "git+https://github.com/eKoopmans/html2pdf.js.git"