fix(npm): improve .npmignore to reduce the size of the published packages (#3970)

| package | gzipped (before) | unpacked (before) | gzipped (after) | unpacked (after) |
| --- | --- | --- | --- | --- |
| cli | 367.7 kB | 2.3 MB | 165.5 kB | 1.0 MB |
| core | 65.4 kB | 450.6 kB | 26.5 kB | 164.9 kB |
| design-system | 180.9 kB | 660.2 kB | 117.6 kB | 449.2 kB |
| editor-ui | 3.5 MB | 12.4 MB | 3.5 MB | 12.4 MB |
| node-dev | 13.5 kB | 44.7 kB | 10.6 kB | 35.3 kB |
| nodes-base | 3.0 MB | 24.3 MB | 2.0 MB | 15.2 MB |
| workflow | 101.4 kB | 827.7 kB | 28.8 kB | 165.7 kB |
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-08-30 13:43:47 +02:00
committed by GitHub
parent fc2ff35c41
commit 15d5ac6f3c
3 changed files with 40 additions and 43 deletions

28
.npmignore Normal file
View File

@@ -0,0 +1,28 @@
dist/test
dist/**/*.{js.map,d.ts}
.DS_Store
# local env files
.env.local
.env.*.local
# Log files
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
.editorconfig
.eslintrc.js
tsconfig.json
tslint.json
.turbo