mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
chore(TS): Create web tsconfig (#12381)
* fix(ts,connection) avoid mixing web and native code * chore(ts) split config The mobile part is still WIP. * Remove default tsconfig * Fix ts-loader - use web tsconfig * Fix tsconfig Use noEmit only on npm scripts (for type checking), but don't use it in webpack * Fix * Fix import * Fix Co-authored-by: Saúl Ibarra Corretgé <saghul@jitsi.org>
This commit is contained in:
24
tsconfig.web.json
Normal file
24
tsconfig.web.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"include": ["react/features/**/*.ts", "react/features/**/*.tsx", "./custom.d.ts", "./globals.d.ts"],
|
||||
"compilerOptions": {
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"module": "es6",
|
||||
"target": "es6",
|
||||
"jsx": "react",
|
||||
"lib": [ "webworker", "ES2020", "DOM" ],
|
||||
"skipLibCheck": true,
|
||||
"moduleResolution": "Node",
|
||||
"strict": true,
|
||||
"noImplicitAny": true,
|
||||
"strictPropertyInitialization": false,
|
||||
"resolveJsonModule": true,
|
||||
"moduleSuffixes": [".web", ""]
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/mobile/*",
|
||||
"**/native/*",
|
||||
"**/*.native.ts",
|
||||
"**/*.native.tsx"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user