Developers confession board

Safe place where developers can confess their sins, fails and funny moments

Follow developer confession @confessmedev or me @DomagojFranc


I'm still not 100% sure when to --save vs. --save-dev vs. just npm install -g packages


It doesn't matter if you're using a modern build tool. It treeshakes for production build


- By Anonymous - 7 months ago

Dev for everything you need to build/lint/transpile/etc but not in production. E.g. Babel and Webpack stuff is typically only needed for development, not in the finished production code.


- By anonymous - 8 months ago

For me it looks like it doesn't make a difference, everything to --save then


- By anonymous - 8 months ago