Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: just read filenames of locales #1090

Closed
wants to merge 2 commits into from
Closed

Conversation

Shinigami92
Copy link
Member

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

@Shinigami92 Shinigami92 added the c: chore PR that doesn't affect the runtime behavior label Jun 18, 2022
@Shinigami92 Shinigami92 added this to the v7 - Current Major milestone Jun 18, 2022
@Shinigami92 Shinigami92 requested a review from a team as a code owner June 18, 2022 14:26
@Shinigami92 Shinigami92 self-assigned this Jun 18, 2022
@Shinigami92 Shinigami92 added the p: 1-normal Nothing urgent label Jun 18, 2022
@codecov
Copy link

codecov bot commented Jun 18, 2022

Codecov Report

Merging #1090 (85aa353) into main (f943b78) will increase coverage by 0.00%.
The diff coverage is n/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%) ⬇️
src/modules/finance/index.ts 100.00% <0.00%> (+0.68%) ⬆️

@Shinigami92 Shinigami92 requested review from a team June 18, 2022 15:10
@Shinigami92
Copy link
Member Author

The way going to #1287 solves this much better, so this PR would get stale anyways

@Shinigami92 Shinigami92 deleted the improve-bundling branch August 20, 2022 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: chore PR that doesn't affect the runtime behavior p: 1-normal Nothing urgent
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants