function getWebpackConfig(name) {
  try {
    return require(`../fixtures/${name}`);
  } catch {
    return require("../fixtures/webpack.config");
  }
}
@param {string} name name
@returns {import("webpack").Configuration | import("webpack").Configuration[]} configuration