@nestjs/cli
Version:
Nest - modern, fast, powerful node.js web framework (@cli)
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();
}