Skip to content

Commit

Permalink
Merge pull request #4060 from cloudfoundry/code-split-angular8
Browse files Browse the repository at this point in the history
Update tsconfigs for Angular 8 migration
  • Loading branch information
richard-cox authored Jan 7, 2020
2 parents cfeffa9 + dc3fb88 commit 9ed3ea6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion browserslist
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
last 2 versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.
IE 9-11
2 changes: 2 additions & 0 deletions build/karma.test.reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@
this.writeFile(`${this.red}${this.bold} - ${f.fullName}${this.reset}`);
const logs = f.log || [];
logs.forEach(l => fs.appendFileSync(this.file, `${this.grey} ${l}${this.reset}`));
// Add empty line
this.writeFile('');
});
}

Expand Down
7 changes: 4 additions & 3 deletions src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"module": "commonjs",
"importHelpers": true,
"target": "es2015",
"module": "esnext",
"types": [
"hammerjs",
"jasmine",
Expand All @@ -20,7 +21,7 @@
"node_modules/@types"
],
"lib": [
"es2017",
"es2018",
"dom"
],
"preserveSymlinks": true
Expand Down
4 changes: 2 additions & 2 deletions src/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"outDir": "./out-tsc",
"target": "es2015",
"module": "es2015",
"module": "esnext",
"moduleResolution": "node",
"declaration": true,
"sourceMap": true,
Expand All @@ -12,7 +12,7 @@
"experimentalDecorators": true,
"importHelpers": true,
"types": [],
"lib": ["dom", "es2015"]
"lib": ["dom", "es2018"]
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
Expand Down

0 comments on commit 9ed3ea6

Please sign in to comment.