Haven't found much information on this topic.
Is there any tooling (gulp) for minifying and bundling a nodejs server project including its node_module dependencies?
I have a scenario where I cannot run npm install
on the production machine and I am limited to a maximum 20 MB "executable" size.
You should take a look into the shrinkwrap options as well as the shrinkpack utility. It basically allows you to freeze your dependencies' versions, GZips your node modules and makes them easily deployable. You might not need Gulp for that, and Gzipping your packages is a lot more effective than uglifying it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With