I
I
irvdev2020-08-12 20:21:56
Node.js
irvdev, 2020-08-12 20:21:56

Bundling express.js applications and cleaning up node_modules to save disk space. Is it possible to?

Hello! There is a need to host a large number of express.js applications. We want to save space by bundling server.js and deleting the node_modules folder. This is still an option.

Who faced similar? Are there any ways to implement this? There are suspicions that webpack will not be able to pull all the dependencies into the bundle.

Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shohruh Shaimardonov, 2020-08-12
@joeberetta

There are ways
Link to turnip: https://github.com/vercel/pkg
Tutorial: https://dev.to/jochemstoel/bundle-your-node-app-to...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question