scripts/customized-config.js
// Attempt to load the given module and return null if it fails.
Attempt to load the given module and return null if it fails.
Attempt to load the given module and return null if it fails .
function loadCustomizer(module) {
  try {
    return require(module);
  } catch (e) {
    if (e.code !== 'MODULE_NOT_FOUND') {
      throw e;
    }
  }
  return config => config;
}
function loadCustomizer ( module ) { try { return require ( module ) ; } catch ( e ) { if ( e . code !== 'MODULE_NOT_FOUND' ) { throw e ; } } return config => config ; }
Attempt to load the given module and return null if it fails.
Attempt to load the given module and return null if it fails .
// If the module doesn't exist, return a // noop that simply returns the config it's given.