diff --git a/ui/.env b/ui/.env deleted file mode 100644 index 3c16d5b87..000000000 --- a/ui/.env +++ /dev/null @@ -1,3 +0,0 @@ -PUBLIC_URL=. -FAST_REFRESH=false -SKIP_PREFLIGHT_CHECK=true diff --git a/ui/src/Components/Theme/index.tsx b/ui/src/Components/Theme/index.tsx index fae51b09c..b8d791815 100644 --- a/ui/src/Components/Theme/index.tsx +++ b/ui/src/Components/Theme/index.tsx @@ -1,6 +1,6 @@ import React, { use, FC, useEffect } from "react"; -import type { StylesConfig } from "react-select/dist/declarations/src/styles"; +import type { StylesConfig } from "react-select"; export interface ThemeCtx { isDark: boolean; diff --git a/ui/tsconfig.json b/ui/tsconfig.json index 78b0e30b0..1fba5da88 100644 --- a/ui/tsconfig.json +++ b/ui/tsconfig.json @@ -2,14 +2,12 @@ "compilerOptions": { "baseUrl": "src", "target": "esnext", - "module": "esnext", - "moduleResolution": "node", + "module": "preserve", + "moduleResolution": "bundler", "lib": ["dom", "dom.iterable", "esnext"], "types": ["vite/client", "jest", "node"], - "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, - "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true,