UNPKG

@nrwl/workspace

Version:

The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.

11 lines 426 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const perf_hooks_1 = require("perf_hooks"); if (process.env.NX_PERF_LOGGING) { const obs = new perf_hooks_1.PerformanceObserver((list) => { const entry = list.getEntries()[0]; console.log(`Time for '${entry.name}'`, entry.duration); }); obs.observe({ entryTypes: ['measure'] }); } //# sourceMappingURL=perf-logging.js.map