UNPKG

nx

Version:

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

20 lines (19 loc) 584 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isIsolationEnabled = isIsolationEnabled; const native_1 = require("../../../native"); function isIsolationEnabled() { // Explicitly enabled, regardless of further conditions if (process.env.NX_ISOLATE_PLUGINS === 'true') { return true; } if ( // Explicitly disabled process.env.NX_ISOLATE_PLUGINS === 'false' || // Isolation is disabled on WASM builds currently. native_1.IS_WASM) { return false; } // Default value return true; }