UNPKG

@nestjs/cli

Version:

Nest - modern, fast, powerful node.js web framework (@cli)

11 lines (10 loc) 480 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.loadConfiguration = void 0; const nest_configuration_loader_1 = require("../configuration/nest-configuration.loader"); const readers_1 = require("../readers"); async function loadConfiguration() { const loader = new nest_configuration_loader_1.NestConfigurationLoader(new readers_1.FileSystemReader(process.cwd())); return loader.load(); } exports.loadConfiguration = loadConfiguration;