function isWebpackCompileError(error) {
  return /Module [A-z ]+\(from/.test(error.message) || /Cannot find module/.test(error.message);
}
Detects if an error is a Webpack compilation error.
@param {Error} error The error of interest.
@returns {boolean} If the error is a Webpack compilation error.