Skip to content

Commit

Permalink
build: add tsconfig.json for ESBuild
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ShGKme committed Aug 17, 2023
1 parent 462ff83 commit 3684fd5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -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,
}
}

0 comments on commit 3684fd5

Please sign in to comment.