From dad54f4eede61a1eef64177c7dc25874b6946c24 Mon Sep 17 00:00:00 2001 From: Pranshu Chittora Date: Wed, 19 Jun 2019 14:31:25 +0530 Subject: [PATCH] chore(ts): enables source map in the ts (#961) 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": [