mirror of
https://github.com/spacebarchat/client.git
synced 2024-11-22 02:12:38 +01:00
remove old craco dependency
This commit is contained in:
parent
2ca1a17702
commit
f8b96bf341
@ -62,7 +62,6 @@
|
||||
"@typescript-eslint/eslint-plugin": "^6.7.0",
|
||||
"@typescript-eslint/parser": "^6.7.0",
|
||||
"@vitejs/plugin-react": "^4.0.4",
|
||||
"craco-esbuild": "^0.5.2",
|
||||
"eslint": "^8.49.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.3",
|
||||
|
1815
pnpm-lock.yaml
1815
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -24,7 +24,7 @@
|
||||
],
|
||||
"publisher": "Spacebar",
|
||||
"category": "SocialNetworking",
|
||||
"shortDescription": "A ree, opensource self-hostable discord-compatible chat, voice and video platform.",
|
||||
"shortDescription": "A free, opensource self-hostable discord-compatible chat, voice and video platform.",
|
||||
"windows": {
|
||||
"nsis": {
|
||||
"license": "../LICENSE",
|
||||
|
6
src/custom.d.ts
vendored
6
src/custom.d.ts
vendored
@ -4,9 +4,3 @@ declare module "*.svg" {
|
||||
const src: string;
|
||||
export default src;
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
__TAURI__: boolean;
|
||||
}
|
||||
}
|
||||
|
@ -78,4 +78,5 @@ export const getFileDetails = (fileOrAttachment: File | APIAttachment) => {
|
||||
};
|
||||
};
|
||||
|
||||
// @ts-expect-error - tauri is not defined
|
||||
export const isTauri = !!window.__TAURI__;
|
||||
|
Loading…
Reference in New Issue
Block a user