Webpack

Wonderful Webpack tips

Here are my recently learnt tips for advanced usage of the wonderful Webpack

  1. --hot does not do would you would expect. webpack --watch and webpack-dev-server do what you'd expect --hot to do, even without that option.
  2. --lazy stops WDS from doing what you'd expect --hot to do.
  3. --hot allows modules (files) to be updated in place, without reloading the webpage.
Syndicate content