Sfoglia il codice sorgente

Remove unused files from published package (#586)

Ooooops…

Installed package size:

 - Before: 84M
 - After: 5.9M

The npmignore files are in nested folders, then they override the `files` config in package.json. It seemed difficult to change the `files` config to exclude all these things, so I opted for this instead.
Renée Kooi 7 anni fa
parent
commit
a057009cf9
3 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 2 0
      examples/.npmignore
  2. 1 0
      examples/bundled-example/.npmignore
  3. 1 0
      test/endtoend/.npmignore

+ 2 - 0
examples/.npmignore

@@ -0,0 +1,2 @@
+node_modules
+package-lock.json

+ 1 - 0
examples/bundled-example/.npmignore

@@ -0,0 +1 @@
+bundle.js

+ 1 - 0
test/endtoend/.npmignore

@@ -0,0 +1 @@
+dist