mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
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:
parent
06cdf9a54e
commit
13879e560b
1 changed files with 14 additions and 0 deletions
14
tsconfig.json
Normal file
14
tsconfig.json
Normal 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,
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue