Migrate to the latest major version of `webpack` module bundler released a
couple of weeks ago.
Apart a couple of workarounds related to `webpack-dev-server`, the migration
mainly consists in updating some configuration, porting swh webpack plugins
to the 5.x API and fixing some new compilation warnings.