From 51bb0b63d6e42fb44df53e1d71c95b28426e8cc2 Mon Sep 17 00:00:00 2001 From: tomzacchia Date: Sun, 23 Apr 2023 13:51:30 -0400 Subject: [PATCH] add: support source maps for tsx As describe in this [babel-loader issue](https://github.com/babel/babel-loader/issues/820) this configuration is needed to debug original code in `devtools > soruces` --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index a2b96dd..5803f43 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "types": ["gas-types-detailed"], "jsx": "react", - "esModuleInterop": true + "esModuleInterop": true, + "sourceMap": true } }