Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference Between Webpack and Express?

New to Webpack.

Using Webpack I can create a server. At the same time I can also use express to create a server. What then is the difference between the two and when to use webpack-dev-server and express servers?

like image 847
Rocket55 Avatar asked Sep 25 '16 06:09

Rocket55


1 Answers

They're completely unrelated.

Webpack is a modular bundler which can take all of your JS, CSS, HTML, etc., and crank out a set files where they are merged as necessary.

Express is a framework for handling HTTP requests in your Node.js application on the server.

like image 88
Brad Avatar answered Dec 31 '22 20:12

Brad