Skip to content

Commit

Permalink
Update packages/vitest/src/node/config.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Vladimir <[email protected]>
  • Loading branch information
fenghan34 and sheremet-va authored Jul 21, 2023
1 parent e4df2d7 commit c85206e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export function resolveConfig(
if (resolved.deps[option] !== undefined) {
console.warn(
c.yellow(
`${c.inverse(c.yellow(' Vitest '))} "deps.${option}" is deprecated, use "server.deps.${option}" instead`,
`${c.inverse(c.yellow(' Vitest '))} "deps.${option}" is deprecated. If you rely on vite-node directly, use "server.deps.${option}" instead. Otherwise, consider using "optimizer.web.${options == 'external' ? 'exclude' : 'include'}"`,
),
)

Expand Down

0 comments on commit c85206e

Please sign in to comment.