91 karma · joined Jun 5, 2024 (2y ago) · 139 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
I yearn for Windows Mobile but it has suffered from this problem greatly. Same with early Nokia and Sony Ericsson phones with smarter features like J2ME.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
This is tree shaking though, dead code elimination means it will find code that isn't used at all and remove it - for example you might have if (DEV) {...}, and DEV is static false at build time, the whole if is removed.
So first it performs dead code elimination, then it removes unused imports, and then it calculates what is actually needed for your imports and removes everything else.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
It's orthogonal to TypeScript - bundler will invoke a TS compiler during the process and also functions as a dev server, but that's just for nicer DX.
Package version resolution is done by package manager, not bundler.
comment 2y ago · link · parent
(He was working on the big browser teams before SerenityOS and Ladybird)
comment 2y ago · link · parent
comment 2y ago · link · parent
The entire culture around the separation of state, its components and citizens is very different here. We really don't want another 40 years of dictatorship - best to stop it right at the beginning.