Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.0 KB
Raw Blame
import { fileURLToPath } from 'node:url';
import solidPlugin from 'vite-plugin-solid';
import solidSvg from 'vite-plugin-solid-svg';
import tsconfigPaths from 'vite-tsconfig-paths';
import { defineConfig } from 'vitest/config';

export default defineConfig({
  root: fileURLToPath(new URL('../../..', import.meta.url)),
  plugins: [
    tsconfigPaths(),
    solidPlugin(),
    solidSvg({ defaultAsComponent: true }),
  ],
  ssr: { resolve: { conditions: ['browser', 'development'] } },
  test: {
    name: 'scheduling',
    environment: 'jsdom',
    // Keep Stepper transitions on the same browser Solid runtime as the editor.
    deps: { optimizer: { client: { enabled: false } } },
    server: {
      deps: {
        inline: [
          'solid-transition-group',
          '@solid-primitives/refs',
          '@solid-primitives/transition-group',
        ],
      },
    },
    include: [
      'src/features/scheduling/**/*.{test,spec}.{ts,tsx}',
      'src/lib/core/component/AI/component/tool/BookingLinks.test.tsx',
    ],
  },
});