From 334431a8d577cd9e03370f6a56016d14cca7d3e3 Mon Sep 17 00:00:00 2001 From: Joe Heffernan Date: Mon, 4 Nov 2024 13:09:01 -0800 Subject: [PATCH] consolidate ts.config --- tsconfig.base.json | 26 -------------------------- tsconfig.commonjs.json | 6 ------ tsconfig.json | 25 ++++++++++++++++++++++--- 3 files changed, 22 insertions(+), 35 deletions(-) delete mode 100644 tsconfig.base.json delete mode 100644 tsconfig.commonjs.json diff --git a/tsconfig.base.json b/tsconfig.base.json deleted file mode 100644 index c98cd34e..00000000 --- a/tsconfig.base.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "compilerOptions": { - "allowJs": true, - "allowSyntheticDefaultImports": true, - "downlevelIteration": true, - "jsx": "react", - "lib": ["DOM", "ES2015", "ES6", "DOM.Iterable", "ScriptHost"], - "moduleResolution": "Node", - "skipLibCheck": true, - "noEmit": true, - "preserveConstEnums": true, - "sourceMap": true, - "strict": true, - "esModuleInterop": true, - "module": "esnext", - "plugins": [ - { - "name": "typescript-plugin-css-modules", - - } - ] - }, - "include": [ - "src/**/*" - ] -} \ No newline at end of file diff --git a/tsconfig.commonjs.json b/tsconfig.commonjs.json deleted file mode 100644 index 5370e302..00000000 --- a/tsconfig.commonjs.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.base", - "compilerOptions": { - "module": "CommonJS" - } -} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index a7cd0239..fb3f3671 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,8 +1,27 @@ { - "extends": "./tsconfig.base", "compilerOptions": { + "allowJs": true, + "allowSyntheticDefaultImports": true, + "downlevelIteration": true, + "jsx": "react", + "lib": ["DOM", "ES2015", "ES6", "DOM.Iterable", "ScriptHost"], + "moduleResolution": "Node", + "skipLibCheck": true, + "noEmit": true, + "preserveConstEnums": true, + "sourceMap": true, + "strict": true, "module": "ES6", "resolveJsonModule": true, - "esModuleInterop": true - } + "esModuleInterop": true, + "plugins": [ + { + "name": "typescript-plugin-css-modules", + + } + ] + }, + "include": [ + "src/**/*" + ] } \ No newline at end of file