How Vercel Gets Their Bundles Small
(1 min read) The @vercel/nft (Node File Trace) package is responsible for a lot of Vercel's bundling magic. It statically analyzes files and can find non-JS dependencies in the execution path by spotting filesystem intersections via readFile and readStream calls. The result of this call is a list of only