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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With