angular-cli-ghpages
Version:
Deploy your Angular app to GitHub Pages or Cloudflare Pages directly from the Angular CLI (ng deploy)
18 lines • 557 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isOutputPathObject = void 0;
function isOutputPathObject(value) {
if (!value || typeof value !== 'object' || Array.isArray(value)) {
return false;
}
const obj = value;
if (typeof obj.base !== 'string' || obj.base === '') {
return false;
}
if ('browser' in obj && typeof obj.browser !== 'string') {
return false;
}
return true;
}
exports.isOutputPathObject = isOutputPathObject;
//# sourceMappingURL=interfaces.js.map