packages/crafty/src/configuration.js
function getOverrides() {
  const configPath = path.join(process.cwd(), "crafty.config.js");

  if (fs.existsSync(configPath)) {
    return require(configPath);
  }

  console.log(`No crafty.config.js found in '${process.cwd()}', proceeding...`);
  return {};
}
function getOverrides() {
  const configPath = path.join(process.cwd(), "crafty.config.js");

  if (fs.existsSync(configPath)) {
    return require(configPath);
  }

  console.log(`No crafty.config.js found in '${process.cwd()}', proceeding...`);
  return {};
}
function getOverrides ( ) { const configPath = path . join ( process . cwd ( ) , "crafty.config.js" ) ; if ( fs . existsSync ( configPath ) ) { return require ( configPath ) ; } console . log ( ` ${ process . cwd ( ) } ` ) ; return { } ; }
Get the user's configuration
@return {*} A configuration object
Get the user s configuration