@nx/angular
Version:
16 lines (15 loc) • 656 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.librarySecondaryEntryPointGenerator = librarySecondaryEntryPointGenerator;
const devkit_1 = require("@nx/devkit");
const lib_1 = require("./lib");
async function librarySecondaryEntryPointGenerator(tree, rawOptions) {
const options = (0, lib_1.normalizeOptions)(tree, rawOptions);
(0, lib_1.addFiles)(tree, options);
(0, lib_1.addPathMapping)(tree, options);
(0, lib_1.updateTsConfigIncludedFiles)(tree, options);
if (!options.skipFormat) {
await (0, devkit_1.formatFiles)(tree);
}
}
exports.default = librarySecondaryEntryPointGenerator;