Skip to content

Commit a7d5696

Browse files
authored
fix(optimizer): skip patches dir hash for nub lockfile (#23761)
1 parent b65a4b5 commit a7d5696

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • packages/vite/src/node/optimizer

‎packages/vite/src/node/optimizer/index.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,8 @@ const lockfileFormats = [
12671267
},
12681268
{
12691269
path: 'nub.lock',
1270-
checkPatchesDir: 'patches',
1270+
// Included in lockfile (`patchedDependencies` has patch hashes)
1271+
checkPatchesDir: false,
12711272
manager: 'nub',
12721273
},
12731274

0 commit comments

Comments
 (0)