Should I have to upload node_modules in production when I used --save
when installing some package from NPM? They say that the packages that I have installed using --save
is required to run the application. So I'm wondering if my app will still work on production if I don't upload the node_modules.
BTW I'm talking about babel.
npm install --save-dev @babel/core @babel/cli @babel/preset-env
npm install --save @babel/polyfill
Notice that the second line is using --save
.
Enlighten me please.