@nx/vite
Version:
16 lines (15 loc) • 510 B
TypeScript
export interface VitestGeneratorSchema {
project: string;
uiFramework?: 'angular' | 'react' | 'none';
coverageProvider: 'v8' | 'istanbul' | 'custom';
inSourceTests?: boolean;
skipViteConfig?: boolean;
testTarget?: string;
skipFormat?: boolean;
testEnvironment?: 'node' | 'jsdom' | 'happy-dom' | 'edge-runtime' | string;
addPlugin?: boolean;
runtimeTsconfigFileName?: string;
compiler?: 'babel' | 'swc'; // default: babel
// internal options
projectType?: 'application' | 'library';
}