title: Does webpack work both in the front end and backend?
body: <p>From their website we pack is defined as:</p>
  
  <blockquote>
    <p>webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.</p>
  </blockquote>
  
  <p>My confusion starts from <a href="https://stackoverflow.com/questions/42294827/webpack-vs-webpack-dev-server-vs-webpack-dev-middleware-vs-webpack-hot-middlewar">this answer</a>. It describes webpack-dev-server as :</p>
  
  <blockquote>
    <p>Webpack Dev Server is itself an express server which uses webpack-dev-middleware to serve the latest bundle and additionally handles hot module replacement (HMR) requests for live module updates in the client.</p>
  </blockquote>
  
  <p>Is webpack being used to ‘compile’ express or is it a way to tell express there are changes in the front end?</p>
  
  <p>My confusion even gets deeper when I look at <a href="https://github.com/linnovate/mean" rel="nofollow noreferrer">this project</a> and (according to their package.json file) they have used webpack-dev-server but I cannot see any webpack installed.What is going on? Can you use webpack dev server without Webpack ? </p>
  
  <p>And finally my last question does angular came with webpack inside it or do you need to install it to use it?</p>