From 9077cc8cbdd3b850543a07e21e4bef68c5cb077c Mon Sep 17 00:00:00 2001 From: samnyan <4137880+samnyan@users.noreply.github.com> Date: Sat, 18 Jul 2020 23:54:47 +0900 Subject: [PATCH] @angular/cli migration - update-module-and-target-compiler-options Update 'module' and 'target' TypeScript compiler options. Read more about this here: https://v10.angular.io/guide/migration-update-module-and-target-compiler-options --- e2e/tsconfig.json | 2 +- tsconfig.base.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/tsconfig.json b/e2e/tsconfig.json index 01edfb1..6b87cc4 100644 --- a/e2e/tsconfig.json +++ b/e2e/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "outDir": "../out-tsc/e2e", "module": "commonjs", - "target": "es5", + "target": "es2018", "types": [ "jasmine", "jasminewd2", diff --git a/tsconfig.base.json b/tsconfig.base.json index 30956ae..a409145 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -7,7 +7,7 @@ "declaration": false, "downlevelIteration": true, "experimentalDecorators": true, - "module": "esnext", + "module": "es2020", "moduleResolution": "node", "importHelpers": true, "target": "es2015",