DEV Community

Discussion on: The node_modules problem

Collapse
 
slimcoder profile image
Slim Coder • Edited

Always try to bundle your node_modules after that you don't need to copy and paste all the node_modules file from one pc to another you just need to copy build file and you can serve that bundle file locally .
or you can create a .pkg file which size is also small .
npmjs.com/package/pkg

Peace .

Collapse
 
leoat12 profile image
Leonardo Teteo

What kind of bundler do you suggest? That's something I was thinking about to make everything more compact. Webpack? Parcel?

"pkg" looks interesting, I always thought it would be convenient to transform the application into an executable file. :)

Collapse
 
slimcoder profile image
Slim Coder

I use webpack