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 <me@shgk.me>
This commit is contained in:
Grigorii K. Shartsev 2023-07-28 09:10:04 +02:00 committed by Daniel Calviño Sánchez
parent 06cdf9a54e
commit 13879e560b

14
tsconfig.json Normal file
View file

@ -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,
}
}