faker
faker copied to clipboard
build: just read filenames of locales
This is an optimization separated from #1052
Instead of loading all locales while bundling, we can just read their filenames and so it don't transpile all the typescript content in memory
Codecov Report
Merging #1090 (85aa353) into main (f943b78) will increase coverage by
0.00%. The diff coverage isn/a.
@@ Coverage Diff @@
## main #1090 +/- ##
=======================================
Coverage 99.64% 99.64%
=======================================
Files 2146 2146
Lines 230393 230393
Branches 979 979
=======================================
+ Hits 229582 229583 +1
+ Misses 790 789 -1
Partials 21 21
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/modules/internet/user-agent.ts | 86.37% <0.00%> (-0.58%) |
:arrow_down: |
| src/modules/finance/index.ts | 100.00% <0.00%> (+0.68%) |
:arrow_up: |
The way going to #1287 solves this much better, so this PR would get stale anyways