setWebpackTarget = target => config => {
  config.target = target;
  return config;
}
Override the webpack target.

@param target What to set the webpack target as (can be string or function).

@see https://webpack.js.org/configuration/target/