From 19ebd65b3ad57282b2fe90aeada2d14d4ca01a3b Mon Sep 17 00:00:00 2001 From: ziajka Date: Mon, 29 Apr 2019 13:00:04 +0200 Subject: [PATCH] Fixing angular-cli --- tsconfig.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index 90f316b6..7b31bf3e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,6 +14,11 @@ "typeRoots": [ "node_modules/@types" ], + // below is fix for angular-cli to support core-js >= 3.0 + "paths": { + "core-js/es7/reflect": ["../node_modules/core-js/proposals/reflect-metadata"], + "core-js/es6/*": ["../node_modules/core-js/es/*"] + }, "lib": [ "es2018", "dom"