fix: preload script in tauri should not have export
This commit is contained in:
1 parent
f01e0cd733
commit
5176d57d28
3 files changed
+9
-10
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"build": {
|
||||
"beforeDevCommand": "pnpm dev:prerequisite",
|
||||
"beforeBuildCommand": "pnpm build:web && pnpm build:affine && pnpm build:preload",
|
||||
"beforeBuildCommand": "pnpm build:web && pnpm build:preload && pnpm build:affine && pnpm build:preload",
|
||||
"devPath": "http://localhost:8080",
|
||||
"distDir": "../dist",
|
||||
"withGlobalTauri": false
|
||||
|
||||
@@ -16,12 +16,3 @@ function setEnvironmentVariables() {
|
||||
}
|
||||
|
||||
setEnvironmentVariables();
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
CLIENT_APP?: boolean;
|
||||
__editoVersion?: string;
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
@@ -0,0 +1,8 @@
|
||||
declare global {
|
||||
interface Window {
|
||||
CLIENT_APP?: boolean;
|
||||
__editoVersion?: string;
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
Reference in new issue
Block a user