@nestjs/cli
Version:
The Nest CLI: create NestJS applications, generate modules, controllers and CRUD resources, and build, run and watch projects and monorepos.
7 lines (6 loc) • 302 B
JavaScript
import { NestConfigurationLoader } from '../configuration/nest-configuration.loader.js';
import { FileSystemReader } from '../readers/index.js';
export async function loadConfiguration() {
const loader = new NestConfigurationLoader(new FileSystemReader(process.cwd()));
return loader.load();
}