@objectivity/angular-schematic-utils
Version:
Utilities for working with Schematics.
12 lines • 409 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildRootPath = void 0;
/**
* Build a root project path for generating.
* @param project The project to build the path for.
*/
function buildRootPath(project) {
return project.sourceRoot ? `/${project.sourceRoot}` : `/${project.root}`;
}
exports.buildRootPath = buildRootPath;
//# sourceMappingURL=project-root.js.map