Skip to content

Commit

Permalink
fix(optimizer): log unoptimizable entries (#12138)
Browse files Browse the repository at this point in the history
  • Loading branch information
Narretz authored Feb 22, 2023
1 parent b5a2485 commit 2c93e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/optimizer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ export async function addManuallyIncludedOptimizeDeps(
deps[normalizedId] = entry
}
} else {
unableToOptimize(entry, 'Cannot optimize dependency')
unableToOptimize(id, 'Cannot optimize dependency')
}
} else {
unableToOptimize(id, 'Failed to resolve dependency')
Expand Down

0 comments on commit 2c93e0b

Please sign in to comment.