DEV Community

Discussion on: Clarification on NPM

Collapse
 
samjarman profile image
Sam Jarman πŸ‘¨πŸΌβ€πŸ’»

Hey! Good question. I see your confusion and it’s totally fine!

Npm modules do install stuff locally but often the install instructions each module should clear this up.

Generally speaking, when you build your website/web app for hosting on a website, the building tool (webpack, gulp, etc) will do all that work of getting the modules (or the subset youre using) into the package you upload (sometimes called compiling or bundling)

Do keep reading about this though - there are quite a few concepts here that you’ll definitely need to get your head around to continue down this path - and well worth learning :)

Collapse
 
lolyparty profile image
Frontend vintner

Thank you. I've started learning about bundling using webpack.