Back to Nx

Use Legacy Cache

packages/nx/src/migrations/update-20-0-1/use-legacy-cache.md

22.7.1342 B
Original Source

Use Legacy Cache

Set useLegacyCache to true for migrating workspaces

Sample Code Changes

Add useLegacyCache to nx.json unless enableDbCache was set to true.

Before
json
{
  "targetDefaults": {}
}
After
json
{
  "targetDefaults": {},
  "useLegacyCache": true
}