From 03bed21cfbb4a2a98a775fb76727c0923d10a339 Mon Sep 17 00:00:00 2001 From: J Rob Gant Date: Thu, 24 Apr 2025 16:11:40 -0400 Subject: [PATCH] refactor: Extend the base tsconfig.json for tsconfig.esm.json instead of duplicating __DESCRIPTION:__ I noticed that both the `tsconfig.json` and the `tsconfig.esm.json` files are largely the same. So it makes sense to me to extend the base on instead of duplicating the configuration options. --- src/tsconfig.esm.json | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/tsconfig.esm.json b/src/tsconfig.esm.json index 63606e2e..ac181667 100644 --- a/src/tsconfig.esm.json +++ b/src/tsconfig.esm.json @@ -1,15 +1,7 @@ { + "extends": "./tsconfig.json", "compilerOptions": { - "target": "es2020", "module": "es6", - "moduleResolution": "node", - "sourceMap": true, - "declaration": true, - "strict": true, - "stripInternal": true, - "outDir": "../lib/esm", - "lib": [ - "es2020" - ] + "outDir": "../lib/esm" } -} \ No newline at end of file +}