Skip to content

DefineLibraryVitestConfigParams

Parameters for defineLibraryVitestConfig.

Import:

import type { DefineLibraryVitestConfigParams } from '@mnaoumov/typescript-dev-toolkit/test-runners/vitest-config';

Signature:

export interface DefineLibraryVitestConfigParams

Properties

PropertyTypeDescription
plugins?ViteUserConfig['plugins']The vite plugins, e.g. a resolver mapping sibling packages onto their source.
projectsTestProjectConfiguration[]The package's vitest projects.
resolve?ViteUserConfig['resolve']The top-level resolve options, applied to every project that does not set its own.

Links to this page: