hunk.code_window:     "rootDir": ".",
       "lib": [
         "es2016",
         "dom"
       ],
       "target": "es5",
       "sourceMap": true,
       "sourceRoot": "/",
       "baseUrl": ".",
       "typeRoots": [
         "../../node_modules/@types"
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:     "target": "es6",
  
hunk.file_path: packages/@ngtools/logger/tsconfig.json
hunk.type: replace
file: import {ng} from '../../utils/process';
  import {expectFileToExist} from '../../utils/fs';
  import {updateJsonFile} from '../../utils/project';
  import {copyFile} from '../../utils/fs';
  
  
  export default function() {
    return Promise.resolve()
      .then(() => copyFile('src/index.html', 'src/config-index.html'))
      .then(() => updateJsonFile('angular-cli.json', configJson => {
        const app = configJson['apps'][0];
        app['outDir'] = 'config-build-output';
        app['index'] = 'config-index.html';
      }))
      .then(() => ng('build'))
      .then(() => expectFileToExist('./config-build-output/config-index.html'));
  }
  