DEV Community

Discussion on: Gulp vs Web-pack

 
crenshaw_dev profile image
Michael Crenshaw

Sure! The target is specified in Webpack's config (just a JSON object full of settings). There are a number of target options, but the two I'm familiar with are web and node. web builds JS to be served to web browsers. node builds JS to run on a server with the nodejs runtime.

Thread Thread
 
jkimquickdev profile image
Kim John

This is good information. I'll definitely look into this. Thanks for this. :)

Kim John