From 13879e560b72031d69fef3ff43fdcd5e8efb625d Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Fri, 28 Jul 2023 09:10:04 +0200 Subject: [PATCH] build: add tsconfig.json for ESBuild Without local tsconfig.json esbuild-loader is searchting for the config in any parent directory. Then server's root tsconfig is used. It is not related to Talk and requires server's node_modules to be installed. Signed-off-by: Grigorii K. Shartsev --- tsconfig.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tsconfig.json diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000000..93aa678778 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,14 @@ +{ + "include": ["./src/**/*.ts"], + "exclude": ["node_modules", "vendor"], + "compilerOptions": { + "outDir": "./js", + "allowJs": true, + "module": "CommonJS", + "moduleResolution": "bundler", + "verbatimModuleSyntax": true, + "target": "ES2020", + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + } +}