Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aaaaaaabbbbbb
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
aaaaaaabbbbbb
6mo ago
Ah yes, one step outside of New York City, and I'm immediately in the boondocks.
2.
▲
by
aaaaaaabbbbbb
1y ago
Assuming one has access to a credit card and is financially literate, I agree that using BNPL is a hard sell (never having used it myself). But there is a large population--the unbanked--that lacks access to credit cards. For that populatio
3.
▲
by
aaaaaaabbbbbb
2y ago
If you have a lot of files, the initial (dev server) page load times increases linearly with the number of files you have. With a slow bundler, that tradeoff made sense, but with a fast bundler, it is suboptimal. Also, typically the applica
4.
▲
by
aaaaaaabbbbbb
2y ago
Next.js et al. provides a set of opinionated packages designed to enable a specific paradigm. For Next.js, that's server-side rendering. For Remix, that's progressive enhancement. If you are happy with client-side rendering and do
5.
▲
by
aaaaaaabbbbbb
2y ago
Note that while Vite transpiles with esbuild, it bundles with Rollup, which is single-threaded JS. Vite also uses esbuild to prebundle dependencies for the dev server, but this is separate from production builds.
6.
▲
by
aaaaaaabbbbbb
2y ago
If you are also looking for broader context beyond what a bundler is, I have written a broader exposition on frontend builds here, which may be useful in understanding how bundlers compare to adjacent build tools: https://sunsetg
7.
▲
by
aaaaaaabbbbbb
2y ago
Since tree-shaking is a common term across frontend build tooling documentation, I adopted it as well. Dead code elimination in its traditional form also runs during code minification, which is a separate build step from bundler tree shakin
8.
▲
by
aaaaaaabbbbbb
2y ago
Thanks for the feedback! I struggled with the ordering since each section is somewhat mutually dependent; this is arranged more like a thematic history than a chronological one. Tree-shaking naturally fits under bundling, and I'm afrai
9.
▲
by
aaaaaaabbbbbb
2y ago
Esbuild lacks the featureful plugin API that Webpack and Rollup have. It's pretty easy to avoid dependencies that require transpiler/bundler plugins and still have a great set of dependencies, but it's a deal breaker for many
10.
▲
by
aaaaaaabbbbbb
2y ago
I have recently written a broader exposition on frontend build tooling, perhaps it will be useful: https://sunsetglow.net/posts/frontend-build-systems.html . The performance gains in the recent past have mostly been due