Skip to content

Commit

Permalink
Fix package size by excluding docs (#5643)
Browse files Browse the repository at this point in the history
* Reduce the number of files included in the npm package

Before:
total files:   572
package size:  260.0 kB
unpacked size: 1.4 MB

After:
total files:   356
package size:  149.1 kB
unpacked size: 780.9 kB
  • Loading branch information
XhmikosR committed Oct 26, 2021
1 parent aa1c87d commit 2ac20d7
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions package.json
Expand Up @@ -28,14 +28,10 @@
"stylelint": "bin/stylelint.js"
},
"files": [
"bin",
"CHANGELOG.md",
"CONTRIBUTING.md",
"SECURITY.md",
"docs",
"lib",
"!**/__tests__",
"!lib/testUtils",
"bin/**/*.js",
"lib/**/*.js",
"!**/__tests__/**",
"!lib/testUtils/**",
"types/stylelint/index.d.ts"
],
"scripts": {
Expand Down

0 comments on commit 2ac20d7

Please sign in to comment.