import Config from './app-config.module';
import './base.config';

/**
 * Optionally include a file
 */
((_require) => {
  if (_require.keys().find(x => x.indexOf('local.config.js') > -1)) {
    _require('./local.config.js');
  }
})(require.context('./', false, /local\.config\.js$/));

export default Config;

@@ -140,20 +140,8 @@
 s().
-find(x =%3E x.
 inde
@@ -145,16 +145,18 @@
 ndexOf('
+./
 local.co
@@ -170,17 +170,16 @@
 ') %3E -1)
-)
  %7B%0A    _

Simplify check for local.config.js file