UNPKG

@nx-plugins/vite

Version:

The Nx Plugin for Vite that contains executors, generators, and utilities for managing Vite applications and libraries within an Nx workspace.

15 lines (14 loc) 634 B
import { GeneratorCallback, Tree } from '@nrwl/devkit'; import { LibraryGeneratorSchema } from './schema'; export interface NormalizedSchema extends LibraryGeneratorSchema { name: string; fileName: string; projectRoot: string; projectName: string; routePath: string; projectDirectory: string; parsedTags: string[]; } export declare function libraryGenerator(host: Tree, schema: LibraryGeneratorSchema): Promise<GeneratorCallback>; export default libraryGenerator; export declare const librarySchematic: (generatorOptions: LibraryGeneratorSchema) => (tree: any, context: any) => Promise<any>;