Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 31 lines 876 B view raw
1import { resolve } from 'path'; 2import { defineConfig } from 'vitest/config'; 3import tsconfigPaths from 'vite-tsconfig-paths'; 4 5export default defineConfig({ 6 resolve: { 7 alias: { 8 'preact/hooks': 9 __dirname + 10 '/packages/preact-urql/node_modules/preact/hooks/dist/hooks.js', 11 preact: 12 __dirname + '/packages/preact-urql/node_modules/preact/dist/preact.js', 13 }, 14 }, 15 plugins: [tsconfigPaths()], 16 test: { 17 globals: true, 18 setupFiles: [resolve(__dirname, 'scripts/vitest/setup.js')], 19 clearMocks: true, 20 exclude: [ 21 'packages/solid-urql/**', 22 'packages/solid-start-urql/**', 23 '**/node_modules/**', 24 '**/dist/**', 25 '**/cypress/**', 26 '**/e2e-tests/**', 27 '**/.{idea,git,cache,output,temp}/**', 28 '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress}.config.*', 29 ], 30 }, 31});