From 2ccd83f3a3809a70faecaf9617910abf74711e82 Mon Sep 17 00:00:00 2001 From: Pranshu Chittora Date: Mon, 17 Jun 2019 11:01:22 +0530 Subject: [PATCH] chore(ts): enables source map in the ts enables the source maps for the ts compiled files for easy debugging --- .gitignore | 3 +++ tsconfig.base.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 6fd2e644f89..5f275db6eb8 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,6 @@ yarn.lock # source maps of docs docs/**/*.map junit.xml + +#typescript source maps +packages/**/*.map diff --git a/tsconfig.base.json b/tsconfig.base.json index 38b57a85442..20786e2daef 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -6,7 +6,8 @@ "skipLibCheck": true, "target": "es6", "lib": ["es6", "es2017"], - "resolveJsonModule": true + "resolveJsonModule": true, + "sourceMap": true }, "include": ["packages/**/*.ts"], "exclude": [