@nestjs/cli
Version:
The Nest CLI: create NestJS applications, generate modules, controllers and CRUD resources, and build, run and watch projects and monorepos.
11 lines (10 loc) • 584 B
TypeScript
import { Configuration } from '../../configuration/index.js';
/**
* Returns the path to the rspack configuration file to use for the given application.
* CLI option `rspackPath` takes precedence over the configuration file.
* @param configuration Configuration object.
* @param cmdOptions Command line options.
* @param appName Application name.
* @returns The path to the rspack configuration file to use.
*/
export declare function getRspackConfigPath(configuration: Required<Configuration>, cmdOptions: Record<string, any>, appName: string | undefined): string | undefined;