Commit 6ff9fa9
committed
eslint: avoid dev dependencies to reduce closure size
Omitting npm dev dependencies reduces eslint closure size significantly.
This is helpful when using eslint in build pipelines. Following numbers
from `nix path-info --size --closure-size --human-readable` on
aarch64-darwin.
size of: eslint closure remark:
before: 438.3 MiB 2.7 GiB (includes apple-sdk, compiler, etc.)
after: 10.6 MiB 202.1 MiB (npmInstallFlags --omit=dev)1 parent df75ed6 commit 6ff9fa9
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 39 | | |
44 | 40 | | |
45 | 41 | | |
| |||
0 commit comments