webpack.config.js
function isEnv(envAlias) {
  // Check for default case
  if (envAlias === ENV_ALIAS.DEV && Object.keys(env).length === 0) {
    return true;
  }

  return envAlias.some(alias => env[alias]);
}
function isEnv(envAlias) {
  // Check for default case
  if (envAlias === ENV_ALIAS.DEV && Object.keys(env).length === 0) {
    return true;
  }

  return envAlias.some(alias => env[alias]);
}
function isEnv ( envAlias ) { // Check for default case if ( envAlias === ENV_ALIAS . DEV && Object . keys ( env ) . length === 0 ) { return true ; } return envAlias . some ( alias => env [ alias ] ) ; }
Function to return if the environment matched the environment alias
Function to return if the environment matched the environment alias