1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.getProjectRootPath = void 0;
|
4 | const devkit_1 = require("@nrwl/devkit");
|
5 | function getProjectRootPath(tree, projectName) {
|
6 | const { sourceRoot, projectType } = (0, devkit_1.readProjectConfiguration)(tree, projectName);
|
7 | return (0, devkit_1.joinPathFragments)(sourceRoot, projectType === 'application' ? 'app' : 'lib');
|
8 | }
|
9 | exports.getProjectRootPath = getProjectRootPath;
|
10 | //# sourceMappingURL=project-type.js.map |
\ | No newline at end of file |