1 | "use strict";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | Object.defineProperty(exports, "__esModule", { value: true });
|
10 | exports.getProjectTargetOptions = void 0;
|
11 |
|
12 | function getProjectTargetOptions(project, buildTarget) {
|
13 | var _a, _b;
|
14 | if ((_b = (_a = project === null || project === void 0 ? void 0 : project.targets) === null || _a === void 0 ? void 0 : _a.get(buildTarget)) === null || _b === void 0 ? void 0 : _b.options) {
|
15 | return project.targets.get(buildTarget).options;
|
16 | }
|
17 | throw new Error(`Cannot determine project target configuration for: ${buildTarget}.`);
|
18 | }
|
19 | exports.getProjectTargetOptions = getProjectTargetOptions;
|
20 |
|
\ | No newline at end of file |