angular-calendar
Version:
A calendar component for angular 20.2+ that can display events on a month, week or day view
18 lines (17 loc) • 686 B
JavaScript
;
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.getProjectTargetOptions = getProjectTargetOptions;
/** Resolves the architect options for the build target of the given project. */
function getProjectTargetOptions(project, buildTarget) {
if (project.targets.get(buildTarget)) {
return project.targets.get(buildTarget).options;
}
throw new Error("Cannot determine project target configuration for: ".concat(buildTarget, "."));
}