feat: add SpeedSelector popup component

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-22 19:03:46 -04:00
parent d9f58747a4
commit bb5fa4bd63
3 changed files with 127 additions and 1 deletions

View File

@@ -3,17 +3,19 @@ import process from 'node:process';
import { fileURLToPath } from 'node:url';
import { defineConfig } from 'vitest/config';
import { svelte } from '@sveltejs/vite-plugin-svelte';
import { svelteTesting } from '@testing-library/svelte/vite';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const host = process.env.TAURI_DEV_HOST;
const libAlias = path.resolve(__dirname, 'src/lib');
export default defineConfig({
plugins: [svelte()],
plugins: [svelte(), svelteTesting()],
resolve: {
alias: {
$lib: libAlias,
},
...(process.env.VITEST ? { conditions: ['browser'] } : {}),
},
clearScreen: false,
server: {