aio/tools/examples/run-example-e2e.js
function loadExampleConfig(exampleFolder) {
  // Default config.
  let config = {build: 'build', run: 'serve:e2e'};

  try {
    const exampleConfig = fs.readJsonSync(`${exampleFolder}/${EXAMPLE_CONFIG_FILENAME}`);
    Object.assign(config, exampleConfig);
  } catch (e) {
  }

  return config;
}
function loadExampleConfig(exampleFolder) {
  // Default config.
  let config = {build: 'build', run: 'serve:e2e'};

  try {
    const exampleConfig = fs.readJsonSync(`${exampleFolder}/${EXAMPLE_CONFIG_FILENAME}`);
    Object.assign(config, exampleConfig);
  } catch (e) {
  }

  return config;
}
function loadExampleConfig ( exampleFolder ) { // Default config. let config = { build : 'build' , run : 'serve:e2e' } ; try { const exampleConfig = fs . readJsonSync ( ` ${ exampleFolder } ${ EXAMPLE_CONFIG_FILENAME } ` ) ; Object . assign ( config , exampleConfig ) ; } catch ( e ) { } return config ; }
Load configuration for an example. Used for SystemJS
Load configuration for an example . Used for SystemJS