diff --git a/backend/tsconfig.json b/backend/tsconfig.json new file mode 100644 index 0000000..691f581 --- /dev/null +++ b/backend/tsconfig.json @@ -0,0 +1,14 @@ +{ + "extends": "@tsconfig/node18/tsconfig.json", + "compilerOptions": { + "outDir": "../dist", + "lib": [ + "ES2022", + ], + "moduleResolution": "Node" + }, + "include": [ + "./**/*.ts", + "../**/common/*.ts" + ] +} \ No newline at end of file diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json new file mode 100644 index 0000000..6727cae --- /dev/null +++ b/frontend/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "@tsconfig/node18/tsconfig.json", + "compilerOptions": { + "outDir": "../dist-frontend", + "lib": [ + "ES2022", + "DOM" + ], + "target": "ES2015", + }, + "include": [ + "./**/*.mts", + "../**/common/*.ts" + ] +} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index 3cbf50a..0000000 --- a/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "@tsconfig/node16/tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "target": "ES2022", - "lib": [ - "ES2022", - "DOM" - ], - "allowJs": false, - "downlevelIteration": true - }, - "include": [ - "src2/**/*.ts" - ] -} \ No newline at end of file