2 ms·
That's why it's a good idea to leverage bundlers and simply roll all of your desired dependencies into a single file and then just execute Node against that. Y
by halfmatthalfcat 7y ago
That's why it's a good idea to leverage bundlers and simply roll all of your desired dependencies into a single file and then just execute Node against that.
You can easily do this with Webpack.
edit: To clarify I'm talking about server-side components.
- andrew_ 7y agoFor anyone reading this comment, investigate Rollup. My own anecdotal experience is that it kicks webpack's behind when it comes to bundling/packaging server-side anything, or anything that'll be run via `node`