You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use "Import Cost" VSCode extention which utilizes webpack in order to detect the imported package size.
For ydb-sdk it shows a red line "2.4M (gzipped: 469.7k)" indicating that this package could affect UX in full-stack frameworks and increase initial page load times.
I understand, that this is in fact an issue related to ydb-nodejs-genproto package, which is used internally to compile proto files.
I even tried to use different libraries for compiling to reduce the size.
Results could be examined in different branches of my fork https://github.com/Gaspero/ydb-nodejs-genproto
Codebase Improvement Request
Describe the Codebase Improvement Request
I use "Import Cost" VSCode extention which utilizes webpack in order to detect the imported package size.
For ydb-sdk it shows a red line "2.4M (gzipped: 469.7k)" indicating that this package could affect UX in full-stack frameworks and increase initial page load times.
I understand, that this is in fact an issue related to ydb-nodejs-genproto package, which is used internally to compile proto files.
I even tried to use different libraries for compiling to reduce the size.
Results could be examined in different branches of my fork https://github.com/Gaspero/ydb-nodejs-genproto
ts-proto & buf (master branch)
buf.gen.yaml
Size in kb
protoc-gen-ts
Size in kb
The text was updated successfully, but these errors were encountered: