Use .ts files for vite config for type safety

This commit is contained in:
Hugh Nimmo-Smith
2024-12-18 13:32:19 +00:00
parent 6b8dddfaaa
commit 99c5a1a250
4 changed files with 31 additions and 7 deletions
+3 -1
View File
@@ -18,6 +18,7 @@
// Workaround for https://github.com/microsoft/TypeScript/issues/55132
"useDefineForClassFields": false,
"allowImportingTsExtensions": true,
"skipLibCheck": true,
"paths": {
// These imports within @livekit/components-core and
// @livekit/components-react are broken under the "bundler" module
@@ -50,6 +51,7 @@
"include": [
"./node_modules/matrix-js-sdk/src/@types/*.d.ts",
"./src/**/*.ts",
"./src/**/*.tsx"
"./src/**/*.tsx",
"*.ts"
]
}