diff --git a/src/routes/App.svelte b/src/routes/App.svelte index d4b71af8..a2164047 100644 --- a/src/routes/App.svelte +++ b/src/routes/App.svelte @@ -338,6 +338,29 @@ New Campaign +
  • + { + showSettingsModal = true; + mobileMenuOpen = false; + }}> + + + + + Settings + +
  • {/if} @@ -709,7 +732,9 @@ text-decoration: none; font-weight: 500; padding: 0.75rem; - display: block; + display: flex; + align-items: center; + gap: 0.5rem; border-radius: 8px; transition: all 0.2s ease; } diff --git a/vitest.config.ts b/vitest.config.ts index cf2a78ae..26591dad 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -1,7 +1,9 @@ import { defineConfig } from 'vitest/config'; +import { sveltekit } from '@sveltejs/kit/vite'; import path from 'path'; export default defineConfig({ + plugins: [sveltekit()], // Use SvelteKit plugin (already installed) test: { include: ['tests/**/*.test.ts'], exclude: ['web/**', 'node_modules/**', '.svelte-kit/**'], @@ -12,5 +14,9 @@ export default defineConfig({ alias: { $lib: path.resolve(__dirname, './src/lib'), }, + extensions: ['.js', '.ts', '.svelte', '.json'], // Explicit extensions for ESM resolution + }, + ssr: { + noExternal: ['wallet-svelte-component'], // Force bundling to handle missing .js extensions }, }); \ No newline at end of file