'Does bundling/bundle size effect nodeJS performance?

Due to some unfortunate legacy within my organisation I can't run my node application as a collection of files. It has to be a single file...

I was wondering if bundling the application with esbuild would effect performance at all? The bundle is reasonably small right now, 1.5mb with all the libraries in it. But I expect that to grow over time. All its gonna take is someone to naively install some packages to blow that out.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source