UNPKG

@nx/vite

Version:

The Nx Plugin for building and testing applications using Vite

9 lines (8 loc) 538 B
import { GeneratorCallback, Tree } from '@nx/devkit'; import { VitestGeneratorSchema } from './schema'; /** * @param hasPlugin some frameworks (e.g. Nuxt) provide their own plugin. Their generators handle the plugin detection. */ export declare function vitestGenerator(tree: Tree, schema: VitestGeneratorSchema, hasPlugin?: boolean): Promise<GeneratorCallback>; export declare function vitestGeneratorInternal(tree: Tree, schema: VitestGeneratorSchema, hasPlugin?: boolean): Promise<GeneratorCallback>; export default vitestGenerator;