From 2fe3bdbb8a6783af375f51a4b22e29fd352c4852 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Fri, 9 Aug 2024 18:03:02 +0200 Subject: [PATCH] Fix $wails in FE --- frontend/tsconfig.json | 2 +- frontend/vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 1686a94..a5e09a8 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -20,7 +20,7 @@ "$lib/*": ["src/lib/*"], "$components/*": ["src/lib/components/*"], "$router/*": ["src/lib/router/*"], - "$wails/*": ["wails/go/main/*"] + "$wails/*": ["wailsjs/go/*"] } }, "include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte"], diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index b2a2749..25d1b88 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -11,7 +11,7 @@ export default defineConfig({ $lib: join(__dirname, 'src/lib'), $components: join(__dirname, 'src/lib/components'), $router: join(__dirname, 'src/lib/router'), - $wails: join(__dirname, 'wails'), + $wails: join(__dirname, 'wailsjs/go'), } }, })