UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

12 lines (11 loc) 440 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isAnalyticsEnabled = isAnalyticsEnabled; /** * Analytics are opt-in: both `"analytics": false` and an unset flag mean no * event is ever sent. Anything enabled for the sake of analytics (network * allowlists, endpoints) gates on this, not on an explicit opt-out alone. */ function isAnalyticsEnabled(nxJson) { return nxJson?.analytics === true; }