We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14c2216 commit bdd69f3Copy full SHA for bdd69f3
nx-node-sea/src/plugin.ts
@@ -55,6 +55,9 @@ function getCachePath(options: NodeSeaPluginOptions) {
55
function readTargetsCache(
56
cachePath: string
57
): Record<string, Record<string, TargetConfiguration>> {
58
+ if (process.env.NX_CACHE_PROJECT_GRAPH === 'false') {
59
+ return {};
60
+ }
61
if (existsSync(cachePath)) {
62
return readJsonFile(cachePath);
63
}
@@ -65,6 +68,9 @@ function writeTargetsToCache(
65
68
cachePath: string,
66
69
targets: Record<string, Record<string, TargetConfiguration>>
67
70
) {
71
72
+ return;
73
74
writeJsonFile(cachePath, targets);
75
76
0 commit comments