4 ms·
Is there an advantage to doing this versus using something like ncc to just package everything into a single js file with zero dependencies?
by Pepe1vo 2y ago
Is there an advantage to doing this versus using something like ncc to just package everything into a single js file with zero dependencies?
- diggan 2y agoLet's say you're initializing a huge array on boot that takes 100ms. Packaging everything into a single .js file won't change that. Taking a snapshot of the state after boot and using that for subsequent boots will allow you to skip that.
- hardwaresofton 2y agoSurprised that vercel/ncc is still supported but vercel/pkg is not... Wonder why that is.